mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[instagram] PEP 8
This commit is contained in:
parent
1609782258
commit
a1001f47fc
|
@ -111,8 +111,8 @@ def _real_extract(self, url):
|
||||||
'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 a new issue