projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee5cd84
)
[theplatform] Style
author
Sergey M․
<dstftw@gmail.com>
Thu, 19 Nov 2015 16:58:43 +0000
(22:58 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 19 Nov 2015 16:58:43 +0000
(22:58 +0600)
youtube_dl/extractor/theplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theplatform.py
b/youtube_dl/extractor/theplatform.py
index d52f9ae4bbf86833524bfc68751f77e9357716e5..1555aa77cac30c18de3f0c2db9e13ea00cc569f6 100644
(file)
--- 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(
# 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:
if feed_id is not None:
break
if feed_id is None: