1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01: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)