'title': 'š„IGRAMO IGRICE UPADAJTEš„2500/5000 2022-06-28 22:01',
'live_status': 'is_live',
},
- 'skip': 'May not be live'
+ 'skip': 'May not be live',
}]
def _real_extract(self, url):
},
})
if live_info.get('isLive') == 0:
- raise ExtractorError('%s is offline' % username, expected=True)
+ raise ExtractorError(f'{username} is offline', expected=True)
program_info = live_info['programInfo']
program_id = program_info['id']
title = program_info['title']
'tbr': stream_info.get('bitrate'),
'http_headers': self._HEADERS,
})
- self._sort_formats(formats)
info = {
'id': program_id,
'url': play_url,
'http_headers': self._HEADERS,
})
- self._sort_formats(formats)
category = vod_info.get('categoryName')
get_count = lambda x: int_or_none(vod_info.get(x + 'Num'))