Spiegel: Support hash at end of URL

pull/8/head
Philipp Hagemeister 12 years ago
parent e32b06e977
commit c397187061

@ -4097,7 +4097,7 @@ class MySpassIE(InfoExtractor):
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)

Loading…
Cancel
Save