From: Sergey M․ Date: Thu, 19 Nov 2015 16:58:43 +0000 (+0600) Subject: [theplatform] Style X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=325bb615a79928541aabfbab366ef813b4f72309;p=youtube-dl [theplatform] Style --- diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py index d52f9ae4b..1555aa77c 100644 --- a/youtube_dl/extractor/theplatform.py +++ b/youtube_dl/extractor/theplatform.py @@ -188,8 +188,11 @@ class ThePlatformIE(ThePlatformBaseIE): # I try one by one for script in reversed(scripts): feed_script = self._download_webpage( - self._proto_relative_url(script, 'http:'), video_id, 'Downloading feed script') - feed_id = self._search_regex(r'defaultFeedId\s*:\s*"([^"]+)"', feed_script, 'default feed id', default=None) + self._proto_relative_url(script, 'http:'), + video_id, 'Downloading feed script') + feed_id = self._search_regex( + r'defaultFeedId\s*:\s*"([^"]+)"', feed_script, + 'default feed id', default=None) if feed_id is not None: break if feed_id is None: