diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-19 22:58:43 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-19 22:58:43 +0600 |
commit | 325bb615a79928541aabfbab366ef813b4f72309 (patch) | |
tree | 31ae402253a6b1e454d28a147428fe6a76e4f652 | |
parent | ee5cd8418e7d6503bfa33ef44e2eb863a55a8c8c (diff) |
[theplatform] Style
-rw-r--r-- | youtube_dl/extractor/theplatform.py | 7 |
1 files 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: |