]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[vevo] Add test for video only available via webpage
authorSergey M․ <dstftw@gmail.com>
Sun, 1 May 2016 21:06:48 +0000 (03:06 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 1 May 2016 21:06:48 +0000 (03:06 +0600)
youtube_dl/extractor/vevo.py

index b6c6ba89f1591aa7192116fdd75228294fceb886..4eb98e50da4d92551a040ce063019e8eb7eb0073 100644 (file)
@@ -84,6 +84,20 @@ class VevoIE(VevoBaseIE):
             'uploader': 'K Camp',
             'timestamp': 1449468000,
         },
+    }, {
+        'note': 'Only available via webpage',
+        'url': 'http://www.vevo.com/watch/GBUV71600656',
+        'md5': '67e79210613865b66a47c33baa5e37fe',
+        'info_dict': {
+            'id': 'GBUV71600656',
+            'ext': 'mp4',
+            'title': 'Viva Love',
+            'upload_date': '20160428',
+            'age_limit': 0,
+            'uploader': 'ABC',
+            'timestamp': 1461830400,
+        },
+        'expected_warnings': ['Failed to download video versions info'],
     }]
     _SMIL_BASE_URL = 'http://smil.lvl3.vevo.com'
     _SOURCE_TYPES = {