]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Spiegel: Support hash at end of URL
authorPhilipp Hagemeister <phihag@phihag.de>
Sat, 16 Mar 2013 22:52:17 +0000 (23:52 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sat, 16 Mar 2013 22:52:17 +0000 (23:52 +0100)
youtube_dl/InfoExtractors.py

index 44b4c437693a27fe0ae511d6c0cfffce294fa119..5339bc0cd106eb7a938f2c11b59084f031a61488 100755 (executable)
@@ -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)