Skip to content

A feature-rich command-line audio/video downloader

Spiegel: Support hash at end of URL

Philipp Hagemeisterc3971870616f
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py
index 44b4c43769..5339bc0cd1 100755
--- a/youtube_dl/InfoExtractors.py
+++ b/youtube_dl/InfoExtractors.py
@@ -4097,7 +4097,7 @@ class MySpassIE(InfoExtractor):
return [info]
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):
m = re.match(self._VALID_URL, url)