1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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 @@ 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)