From 8e7d0048886f374a58f0fe8ba021644d7074d02c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Mon, 2 May 2016 03:06:48 +0600 Subject: [PATCH] [vevo] Add test for video only available via webpage --- youtube_dl/extractor/vevo.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index b6c6ba89f..4eb98e50d 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -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 = { -- 2.22.2