youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 6a8f9cd22efa7db844e035a3e40571f7d05eebea
parent e8b9ab8957084d1b7ab60f14574e5d14d9417909
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed,  6 May 2015 21:39:53 +0600

[giga] Fix view count extraction

Diffstat:
Myoutube_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 @@ -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,