mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-24 15:50:26 +01:00
[giga] Fix view count extraction
This commit is contained in:
parent
e8b9ab8957
commit
6a8f9cd22e
@ -85,7 +85,8 @@ class GigaIE(InfoExtractor):
|
|||||||
r'class="author">([^<]+)</a>', webpage, 'uploader', fatal=False)
|
r'class="author">([^<]+)</a>', webpage, 'uploader', fatal=False)
|
||||||
|
|
||||||
view_count = str_to_int(self._search_regex(
|
view_count = str_to_int(self._search_regex(
|
||||||
r'<span class="views"><strong>([\d.]+)</strong>', webpage, 'view count', fatal=False))
|
r'<span class="views"><strong>([\d.,]+)</strong>',
|
||||||
|
webpage, 'view count', fatal=False))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user