mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 04:30:10 +09:00
[goodgame] test view_count with int keyword
This commit is contained in:
parent
556d03d450
commit
19ac5b7656
@ -108,7 +108,7 @@ class GoodgameStreamIE(GoodgameBaseIE):
|
|||||||
return {
|
return {
|
||||||
'id': channel_id,
|
'id': channel_id,
|
||||||
'title': stream_info['title'],
|
'title': stream_info['title'],
|
||||||
'view_count': int_or_none(stream_info.get('viewers')),
|
'view_count': int(stream_info.get('viewers')),
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
'is_live': True,
|
'is_live': True,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
Loading…
Reference in New Issue
Block a user