]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[giga] Fix view count extraction
authorSergey M․ <dstftw@gmail.com>
Wed, 6 May 2015 15:39:53 +0000 (21:39 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 6 May 2015 15:39:53 +0000 (21:39 +0600)
youtube_dl/extractor/giga.py

index 775890112d219cf14a7c78d8504c62a65c612e28..28eb733e2bac89818a54952f77b342fec6ebe4ff 100644 (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,