From: Sergey M․ Date: Wed, 6 May 2015 15:39:53 +0000 (+0600) Subject: [giga] Fix view count extraction X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=6a8f9cd22efa7db844e035a3e40571f7d05eebea;p=youtube-dl.git [giga] Fix view count extraction --- 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">([^<]+)', 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,