1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-19 11:39:28 +00:00

[goodgame] test view_count with int keyword

This commit is contained in:
Iaiao 2021-01-16 22:36:05 +02:00
parent 556d03d450
commit 19ac5b7656
No known key found for this signature in database
GPG key ID: 06921DA11602FE75

View file

@ -108,7 +108,7 @@ class GoodgameStreamIE(GoodgameBaseIE):
return {
'id': channel_id,
'title': stream_info['title'],
'view_count': int_or_none(stream_info.get('viewers')),
'view_count': int(stream_info.get('viewers')),
'thumbnail': thumbnail,
'is_live': True,
'formats': formats,