[youtube] Test for like_count and dislike_count (#3633)
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 31 Aug 2014 16:10:05 +0000 (18:10 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 31 Aug 2014 16:10:05 +0000 (18:10 +0200)
youtube_dl/extractor/youtube.py

index 13676c49f4991454dea720fcb97bd7f28ba91857..bdabcaa27b8d4ad85532f7bd2d34e87026b8a0b0 100644 (file)
@@ -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,
             }
         },
         {