From 325bb615a79928541aabfbab366ef813b4f72309 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Thu, 19 Nov 2015 22:58:43 +0600 Subject: [PATCH] [theplatform] Style --- youtube_dl/extractor/theplatform.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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: -- 2.22.2