mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[bbc] PEP 8
This commit is contained in:
parent
9fb64c04cd
commit
aaa42cf0cf
@ -339,7 +339,7 @@ def _process_media_selector(self, media_selection, programme_id):
|
|||||||
href, programme_id, f4m_id=format_id, fatal=False))
|
href, programme_id, f4m_id=format_id, fatal=False))
|
||||||
else:
|
else:
|
||||||
if not service and not supplier and bitrate:
|
if not service and not supplier and bitrate:
|
||||||
format_id += '-%d' % bitrate
|
format_id += '-%d' % bitrate
|
||||||
fmt = {
|
fmt = {
|
||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
'filesize': file_size,
|
'filesize': file_size,
|
||||||
@ -945,7 +945,7 @@ def extract_all(pattern):
|
|||||||
r'setPlaylist\("(%s)"\)' % EMBED_URL, webpage))
|
r'setPlaylist\("(%s)"\)' % EMBED_URL, webpage))
|
||||||
if entries:
|
if entries:
|
||||||
return self.playlist_result(
|
return self.playlist_result(
|
||||||
[self.url_result(entry, 'BBCCoUk') for entry in entries],
|
[self.url_result(entry_, 'BBCCoUk') for entry_ in entries],
|
||||||
playlist_id, playlist_title, playlist_description)
|
playlist_id, playlist_title, playlist_description)
|
||||||
|
|
||||||
# Multiple video article (e.g. http://www.bbc.com/news/world-europe-32668511)
|
# Multiple video article (e.g. http://www.bbc.com/news/world-europe-32668511)
|
||||||
|
Loading…
Reference in New Issue
Block a user