From 6a8f9cd22efa7db844e035a3e40571f7d05eebea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 6 May 2015 21:39:53 +0600 Subject: [PATCH] [giga] Fix view count extraction --- youtube_dl/extractor/giga.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ def _real_extract(self, url): r'class="author">([^<]+)', webpage, 'uploader', fatal=False) view_count = str_to_int(self._search_regex( - r'([\d.]+)', webpage, 'view count', fatal=False)) + r'([\d.,]+)', + webpage, 'view count', fatal=False)) return { 'id': video_id,