0
0
Fork 0

[giga] Fix view count extraction

main
Sergey M․ 2015-05-06 21:39:53 +06:00
parent e8b9ab8957
commit 6a8f9cd22e
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ class GigaIE(InfoExtractor):
r'class="author">([^<]+)</a>', webpage, 'uploader', fatal=False)
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 {
'id': video_id,