aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/giga.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-06 21:39:53 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-06 21:39:53 +0600
commit6a8f9cd22efa7db844e035a3e40571f7d05eebea (patch)
tree8e1e66c7d743965845c85f6d586b144f451f03e9 /youtube_dl/extractor/giga.py
parente8b9ab8957084d1b7ab60f14574e5d14d9417909 (diff)
[giga] Fix view count extraction
Diffstat (limited to 'youtube_dl/extractor/giga.py')
-rw-r--r--youtube_dl/extractor/giga.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/giga.py b/youtube_dl/extractor/giga.py
index 775890112..28eb733e2 100644
--- a/youtube_dl/extractor/giga.py
+++ b/youtube_dl/extractor/giga.py
@@ -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,