mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
[instagram] PEP 8
This commit is contained in:
parent
1609782258
commit
a1001f47fc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user