mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 23:32:33 +00:00
[youtube] Add a normal age-gate test video
This commit is contained in:
parent
7160532d41
commit
c522adb1f0
1 changed files with 14 additions and 1 deletions
|
@ -402,7 +402,20 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
||||||
'title': 'Burning Everyone\'s Koran',
|
'title': 'Burning Everyone\'s Koran',
|
||||||
'description': 'SUBSCRIBE: http://www.youtube.com/saturninefilms\n\nEven Obama has taken a stand against freedom on this issue: http://www.huffingtonpost.com/2010/09/09/obama-gma-interview-quran_n_710282.html',
|
'description': 'SUBSCRIBE: http://www.youtube.com/saturninefilms\n\nEven Obama has taken a stand against freedom on this issue: http://www.huffingtonpost.com/2010/09/09/obama-gma-interview-quran_n_710282.html',
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
# Normal age-gate video (No vevo, embed allowed)
|
||||||
|
{
|
||||||
|
'url': 'http://youtube.com/watch?v=HtVdAasjOgU',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'HtVdAasjOgU',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'The Witcher 3: Wild Hunt - The Sword Of Destiny Trailer',
|
||||||
|
'description': 'md5:eca57043abae25130f58f655ad9a7771',
|
||||||
|
'uploader': 'The Witcher',
|
||||||
|
'uploader_id': 'WitcherGame',
|
||||||
|
'upload_date': '20140605',
|
||||||
|
},
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue