1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-24 08:56:48 +00:00

fix SpiegelIE

This commit is contained in:
Filippo Valsorda 2013-03-29 15:31:38 +01:00
parent 0cd358676c
commit 1f46c15262

View File

@ -4128,7 +4128,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)