aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-10-01 00:16:08 +0700
committerSergey M․ <dstftw@gmail.com>2016-10-01 00:16:08 +0700
commita1001f47fc19adf983859bb281f08a09bd7f7e9b (patch)
tree362cb1ba8538c933658c47497b6a113cdd17f2b7
parent16097822582b839a3744b54af90f7b3fd7132d26 (diff)
[instagram] PEP 8
-rw-r--r--youtube_dl/extractor/instagram.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/instagram.py b/youtube_dl/extractor/instagram.py
index dde435189..196407b06 100644
--- a/youtube_dl/extractor/instagram.py
+++ b/youtube_dl/extractor/instagram.py
@@ -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)