projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e25f51
)
[vgtv] Add view count to test cases
author
Sergey M․
<dstftw@gmail.com>
Mon, 8 Sep 2014 14:33:03 +0000
(21:33 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 8 Sep 2014 14:33:03 +0000
(21:33 +0700)
youtube_dl/extractor/vgtv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vgtv.py
b/youtube_dl/extractor/vgtv.py
index 5ab6168a9c36d2bac5e59bf8efb7ff1e65883f89..7d27d6c57e61afeb19e7f8d10171b0b9d944bf57 100644
(file)
--- a/
youtube_dl/extractor/vgtv.py
+++ b/
youtube_dl/extractor/vgtv.py
@@
-22,7
+22,8
@@
class VGTVIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpg',
'duration': 648.000,
'timestamp': 1404626400,
'thumbnail': 're:^https?://.*\.jpg',
'duration': 648.000,
'timestamp': 1404626400,
- 'upload_date': '20140706'
+ 'upload_date': '20140706',
+ 'view_count': int,
},
},
{
},
},
{
@@
-36,7
+37,8
@@
class VGTVIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpg',
'duration': 9056.000,
'timestamp': 1410113864,
'thumbnail': 're:^https?://.*\.jpg',
'duration': 9056.000,
'timestamp': 1410113864,
- 'upload_date': '20140907'
+ 'upload_date': '20140907',
+ 'view_count': int,
},
'params': {
# m3u8 download
},
'params': {
# m3u8 download
@@
-54,7
+56,8
@@
class VGTVIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpg',
'duration': 0,
'timestamp': 1407423348,
'thumbnail': 're:^https?://.*\.jpg',
'duration': 0,
'timestamp': 1407423348,
- 'upload_date': '20140807'
+ 'upload_date': '20140807',
+ 'view_count': int,
},
'params': {
# m3u8 download
},
'params': {
# m3u8 download