Sergey M․
4 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/periscope.py
|
|
@ -18,7 +18,7 @@ class PeriscopeBaseIE(InfoExtractor): |
|
|
|
item_id, query=query) |
|
|
|
|
|
|
|
def _parse_broadcast_data(self, broadcast, video_id): |
|
|
|
title = broadcast['status'] |
|
|
|
title = broadcast.get('status') or 'Periscope Broadcast' |
|
|
|
uploader = broadcast.get('user_display_name') or broadcast.get('username') |
|
|
|
title = '%s - %s' % (uploader, title) if uploader else title |
|
|
|
is_live = broadcast.get('state').lower() == 'running' |
|
|
|