1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 07:26:05 +08:00

Updated fix for Heise extractor

This commit is contained in:
Hier631 2017-12-19 21:07:20 +01:00 committed by GitHub
parent 182e2c602d
commit 7420fc5230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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