mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-05 11:01:11 +00:00
[bbccouk] PEP8
This commit is contained in:
parent
a42419da42
commit
931e2d1d26
@ -241,8 +241,8 @@ class BBCCoUkIE(SubtitlesInfoExtractor):
|
|||||||
|
|
||||||
# fallback to legacy playlist
|
# fallback to legacy playlist
|
||||||
playlist = self._download_xml(
|
playlist = self._download_xml(
|
||||||
'http://www.bbc.co.uk/iplayer/playlist/%s' % playlist_id,
|
'http://www.bbc.co.uk/iplayer/playlist/%s' % playlist_id,
|
||||||
playlist_id, 'Downloading legacy playlist XML')
|
playlist_id, 'Downloading legacy playlist XML')
|
||||||
|
|
||||||
no_items = playlist.find('./{http://bbc.co.uk/2008/emp/playlist}noItems')
|
no_items = playlist.find('./{http://bbc.co.uk/2008/emp/playlist}noItems')
|
||||||
if no_items is not None:
|
if no_items is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user