From c3b29a31beeb61b5fd30bb0cd4a851969946674e Mon Sep 17 00:00:00 2001 From: Ondrej Zara Date: Wed, 19 Jul 2017 09:15:14 +0200 Subject: [PATCH] inlined local variables --- youtube_dl/extractor/ceskatelevize.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/youtube_dl/extractor/ceskatelevize.py b/youtube_dl/extractor/ceskatelevize.py index 8ad5055d0..6e8aa5e83 100644 --- a/youtube_dl/extractor/ceskatelevize.py +++ b/youtube_dl/extractor/ceskatelevize.py @@ -318,10 +318,10 @@ class CeskaTelevizeDeckoIE(InfoExtractor): webpage = self._download_webpage(url, video_id) idec = self._html_search_regex(r'var\s+IDEC\s*=\s*\'(.+?)\'', webpage, 'IDEC') - - args = compat_urllib_parse_urlencode({'IDEC':idec}) - url = 'http://decko.ceskatelevize.cz/rest/Programme/relatedVideosForEpisode?' + args - json = self._download_json(url, video_id) + json = self._download_json( + 'http://decko.ceskatelevize.cz/rest/Programme/relatedVideosForEpisode?' + + compat_urllib_parse_urlencode({'IDEC':idec}), + video_id) episodes = json.get('episodes', []) entries = []