[bbc] PEP 8
authorSergey M․ <dstftw@gmail.com>
Sun, 7 Aug 2016 11:05:13 +0000 (18:05 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 7 Aug 2016 11:05:13 +0000 (18:05 +0700)
youtube_dl/extractor/bbc.py

index 0ee096ddaf10b900133a0093aa8ef03bcb440a9c..d059e02a375e17848513168be56efaccee1c8c01 100644 (file)
@@ -339,7 +339,7 @@ class BBCCoUkIE(InfoExtractor):
                             href, programme_id, f4m_id=format_id, fatal=False))
                     else:
                         if not service and not supplier and bitrate:
-                            format_id += '-%d' %  bitrate
+                            format_id += '-%d' % bitrate
                         fmt = {
                             'format_id': format_id,
                             'filesize': file_size,
@@ -945,7 +945,7 @@ class BBCIE(BBCCoUkIE):
             r'setPlaylist\("(%s)"\)' % EMBED_URL, webpage))
         if entries:
             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)
 
         # Multiple video article (e.g. http://www.bbc.com/news/world-europe-32668511)