mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 10:24:33 +01:00
Merge pull request #1 from lubosan80/decko-ct
seems that they use " instead of ' in czech tv now.
This commit is contained in:
commit
3979cb7d01
@ -317,7 +317,7 @@ class CeskaTelevizeDeckoIE(InfoExtractor):
|
||||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
idec = self._html_search_regex(r'var\s+IDEC\s*=\s*\'(.+?)\'', webpage, 'IDEC')
|
||||
idec = self._html_search_regex(r'var\s+IDEC\s*=\s*[\'\"](.+?)[\'\"]', webpage, 'IDEC')
|
||||
json = self._download_json(
|
||||
'http://decko.ceskatelevize.cz/rest/Programme/relatedVideosForEpisode?'
|
||||
+ compat_urllib_parse_urlencode({'IDEC':idec}),
|
||||
|
Loading…
Reference in New Issue
Block a user