1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-15 23:52:36 +01:00

Spiegel: Support hash at end of URL

This commit is contained in:
Philipp Hagemeister 2013-03-16 23:52:17 +01:00
parent e32b06e977
commit c397187061

View File

@ -4097,7 +4097,7 @@ def _real_extract(self, url):
return [info] return [info]
class SpiegelIE(InfoExtractor): class SpiegelIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?spiegel\.de/video/[^/]*-(?P<videoID>[0-9]+)(?:\.html)?$' _VALID_URL = r'https?://(?:www\.)?spiegel\.de/video/[^/]*-(?P<videoID>[0-9]+)(?:\.html)?(?:#.*)$'
def _real_extract(self, url): def _real_extract(self, url):
m = re.match(self._VALID_URL, url) m = re.match(self._VALID_URL, url)