aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-09-08 21:33:03 +0700
committerSergey M․ <dstftw@gmail.com>2014-09-08 21:33:03 +0700
commit3fbeb95e145df7b9b488bdfa56ec9d245cff1ef2 (patch)
tree7aef4f679257545ee891086e89ae8f9ed6cce2a9
parent6e25f51cdf004284a625bfaf6738a86a0dfcb55b (diff)
[vgtv] Add view count to test cases
-rw-r--r--youtube_dl/extractor/vgtv.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index 5ab6168a9..7d27d6c57 100644
--- 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,
- '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,
- 'upload_date': '20140907'
+ 'upload_date': '20140907',
+ 'view_count': int,
},
'params': {
# m3u8 download
@@ -54,7 +56,8 @@ class VGTVIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpg',
'duration': 0,
'timestamp': 1407423348,
- 'upload_date': '20140807'
+ 'upload_date': '20140807',
+ 'view_count': int,
},
'params': {
# m3u8 download