]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/giga.py
Imported Debian patch 2015.11.27.1-1.1
[youtubedl] / 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,