[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,