1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 07:26:05 +08:00
Jan Chren 2017-04-04 20:27:13 +02:00 committed by GitHub
parent fac39cccd4
commit a8a3c3225c

View File

@ -92,10 +92,11 @@ class CeskaTelevizeIE(InfoExtractor):
}]
def _real_extract(self, url):
url = url.replace('/porady/', '/ivysilani/').replace('/video/', '')
mobj = re.match(self._VALID_URL, url)
playlist_id = mobj.group('id')
url = url.replace('/porady/', '/ivysilani/', 1)
url = url.replace('/video/', '/obsah/', 1)
webpage = self._download_webpage(url, playlist_id)