1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 18:53:05 +08:00

Updated fix for Heise extractor

This commit is contained in:
Hier631 2017-12-19 16:37:36 +01:00 committed by GitHub
parent 117ed449a4
commit 7d4dd5dfad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ class HeiseIE(InfoExtractor):
}] }]
def _real_extract(self, url): def _real_extract(self, url):
url = re.sub(r'https?://(?:www\.)?heise\.de/', url = re.sub(r'^https?://(?:www\.)?heise\.de/',
'https://m.heise.de/', 'https://m.heise.de/',
url) url)
video_id = self._match_id(url) video_id = self._match_id(url)