]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[instagram] PEP 8
authorSergey M․ <dstftw@gmail.com>
Fri, 30 Sep 2016 17:16:08 +0000 (00:16 +0700)
committerSergey M․ <dstftw@gmail.com>
Fri, 30 Sep 2016 17:16:08 +0000 (00:16 +0700)
youtube_dl/extractor/instagram.py

index dde435189d9fcb6956338b816f1764bf0f0b0198..196407b063a9393b94c759be6c8080de9a494277 100644 (file)
@@ -111,8 +111,8 @@ class InstagramIE(InfoExtractor):
                     'id': comment.get('id'),
                     'text': comment.get('text'),
                     'timestamp': int_or_none(comment.get('created_at')),
-                } for comment in media.get('comments', {}).get('nodes', [])
-                if comment.get('text')]
+                } for comment in media.get(
+                    'comments', {}).get('nodes', []) if comment.get('text')]
 
         if not video_url:
             video_url = self._og_search_video_url(webpage, secure=False)