[theplatform] Style
This commit is contained in:
parent
ee5cd8418e
commit
325bb615a7
1 changed files with 5 additions and 2 deletions
|
@ -188,8 +188,11 @@ class ThePlatformIE(ThePlatformBaseIE):
|
||||||
# I try one by one
|
# I try one by one
|
||||||
for script in reversed(scripts):
|
for script in reversed(scripts):
|
||||||
feed_script = self._download_webpage(
|
feed_script = self._download_webpage(
|
||||||
self._proto_relative_url(script, 'http:'), video_id, 'Downloading feed script')
|
self._proto_relative_url(script, 'http:'),
|
||||||
feed_id = self._search_regex(r'defaultFeedId\s*:\s*"([^"]+)"', feed_script, 'default feed id', default=None)
|
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:
|
if feed_id is not None:
|
||||||
break
|
break
|
||||||
if feed_id is None:
|
if feed_id is None:
|
||||||
|
|
Loading…
Reference in a new issue