aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-31 18:10:05 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-31 18:10:05 +0200
commit3e7c12240c7b23913a8a9df2ded21dfae7624d84 (patch)
treec970262f5d72b1d1a6d9c7ddfa582751c2e074c9
parentf30a38be8b3c32500e168f93f68fc1f36a62b29d (diff)
[youtube] Test for like_count and dislike_count (#3633)
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 13676c49f..bdabcaa27 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -316,6 +316,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
u"upload_date": u"20121002",
u"description": u"test chars: \"'/\\ä↭𝕐\ntest URL: https://github.com/rg3/youtube-dl/issues/1892\n\nThis is a test video for youtube-dl.\n\nFor more information, contact phihag@phihag.de .",
u"categories": [u'Science & Technology'],
+ 'like_count': int,
+ 'dislike_count': int,
}
},
{