projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b9ab8
)
[giga] Fix view count extraction
author
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:39:53 +0000
(21:39 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:39:53 +0000
(21:39 +0600)
youtube_dl/extractor/giga.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/giga.py
b/youtube_dl/extractor/giga.py
index 775890112d219cf14a7c78d8504c62a65c612e28..28eb733e2bac89818a54952f77b342fec6ebe4ff 100644
(file)
--- 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,