mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[theplatform] Style
This commit is contained in:
parent
ee5cd8418e
commit
325bb615a7
@ -188,8 +188,11 @@ def _real_extract(self, url):
|
||||
# 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:
|
||||
|
Loading…
Reference in New Issue
Block a user