Sergey M․
7 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
4 additions and
3 deletions
-
youtube_dl/extractor/rutube.py
|
@ -12,9 +12,10 @@ from ..compat import ( |
|
|
) |
|
|
) |
|
|
from ..utils import ( |
|
|
from ..utils import ( |
|
|
determine_ext, |
|
|
determine_ext, |
|
|
unified_timestamp, |
|
|
|
|
|
try_get, |
|
|
|
|
|
|
|
|
bool_or_none, |
|
|
int_or_none, |
|
|
int_or_none, |
|
|
|
|
|
try_get, |
|
|
|
|
|
unified_timestamp, |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -42,7 +43,7 @@ class RutubeBaseIE(InfoExtractor): |
|
|
'age_limit': age_limit, |
|
|
'age_limit': age_limit, |
|
|
'view_count': int_or_none(video.get('hits')), |
|
|
'view_count': int_or_none(video.get('hits')), |
|
|
'comment_count': int_or_none(video.get('comments_count')), |
|
|
'comment_count': int_or_none(video.get('comments_count')), |
|
|
'is_live': video.get('is_livestream'), |
|
|
|
|
|
|
|
|
'is_live': bool_or_none(video.get('is_livestream')), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|