mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 04:53:06 +08:00
Updated fix for Heise extractor
This commit is contained in:
parent
4b1aead092
commit
f64318ab19
@ -57,7 +57,7 @@ class HeiseIE(InfoExtractor):
|
|||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobile_url = re.sub(r'^(https?://)(?:www\.)?', r'\1m.', url)
|
mobile_url = re.sub(r'^(https?://)(?:www\.)?', r'\1m.', url)
|
||||||
video_id = self._match_id(mobile_url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
mobile_webpage = self._download_webpage(mobile_url, video_id)
|
mobile_webpage = self._download_webpage(mobile_url, video_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user