Browse Source

[instagram] PEP 8

totalwebcasting
Sergey M․ 8 years ago
parent
commit
a1001f47fc
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/instagram.py

+ 2
- 2
youtube_dl/extractor/instagram.py View File

@ -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)


Loading…
Cancel
Save