aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vine.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-10-18 09:36:19 +0600
committerSergey M․ <dstftw@gmail.com>2015-10-18 09:36:19 +0600
commit2e022397c45fbcfd2ef6da43d14b0770221aabd5 (patch)
tree7ffe52034bcb214b2f096f5db0ea5ac12f37e9d7 /youtube_dl/extractor/vine.py
parent02835c6bf4403a907c058d43220a83b3b427e181 (diff)
[vine] Add counters to tests
Diffstat (limited to 'youtube_dl/extractor/vine.py')
-rw-r--r--youtube_dl/extractor/vine.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vine.py b/youtube_dl/extractor/vine.py
index 6e72cc253..be72f3147 100644
--- a/youtube_dl/extractor/vine.py
+++ b/youtube_dl/extractor/vine.py
@@ -24,6 +24,9 @@ class VineIE(InfoExtractor):
'upload_date': '20130519',
'uploader': 'Jack Dorsey',
'uploader_id': '76',
+ 'like_count': int,
+ 'comment_count': int,
+ 'repost_count': int,
},
}, {
'url': 'https://vine.co/v/MYxVapFvz2z',
@@ -36,6 +39,9 @@ class VineIE(InfoExtractor):
'upload_date': '20140815',
'uploader': 'Mars Ruiz',
'uploader_id': '1102363502380728320',
+ 'like_count': int,
+ 'comment_count': int,
+ 'repost_count': int,
},
}, {
'url': 'https://vine.co/v/bxVjBbZlPUH',
@@ -48,6 +54,9 @@ class VineIE(InfoExtractor):
'upload_date': '20130430',
'uploader': 'Z3k3',
'uploader_id': '936470460173008896',
+ 'like_count': int,
+ 'comment_count': int,
+ 'repost_count': int,
},
}, {
'url': 'https://vine.co/oembed/MYxVapFvz2z.json',
@@ -62,6 +71,9 @@ class VineIE(InfoExtractor):
'upload_date': '20150705',
'uploader': 'Pimry_zaa',
'uploader_id': '1135760698325307392',
+ 'like_count': int,
+ 'comment_count': int,
+ 'repost_count': int,
},
'params': {
'skip_download': True,