1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +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 @@ 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)