1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

[instagram] PEP 8

This commit is contained in:
Sergey M․ 2016-10-01 00:16:08 +07:00
parent 1609782258
commit a1001f47fc
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

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