mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-30 04:08:01 +01:00
inlined local variables
This commit is contained in:
parent
611c5af425
commit
c3b29a31be
@ -318,10 +318,10 @@ class CeskaTelevizeDeckoIE(InfoExtractor):
|
|||||||
webpage = self._download_webpage(url, video_id)
|
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(
|
||||||
args = compat_urllib_parse_urlencode({'IDEC':idec})
|
'http://decko.ceskatelevize.cz/rest/Programme/relatedVideosForEpisode?'
|
||||||
url = 'http://decko.ceskatelevize.cz/rest/Programme/relatedVideosForEpisode?' + args
|
+ compat_urllib_parse_urlencode({'IDEC':idec}),
|
||||||
json = self._download_json(url, video_id)
|
video_id)
|
||||||
episodes = json.get('episodes', [])
|
episodes = json.get('episodes', [])
|
||||||
|
|
||||||
entries = []
|
entries = []
|
||||||
|
Loading…
Reference in New Issue
Block a user