Browse Source

[extractor/generic] Add test for OnionStudios embeds

master
Sergey M․ 9 years ago
parent
commit
8084be78c5
1 changed files with 12 additions and 0 deletions
  1. 12
      youtube_dl/extractor/generic.py

12
youtube_dl/extractor/generic.py

@ -837,6 +837,18 @@ class GenericIE(InfoExtractor):
'thumbnail': 're:^https?://.*\.jpe?g$', 'thumbnail': 're:^https?://.*\.jpe?g$',
} }
}, },
# OnionStudios embed
{
'url': 'http://www.clickhole.com/video/dont-understand-bitcoin-man-will-mumble-explanatio-2537',
'info_dict': {
'id': '2855',
'ext': 'mp4',
'title': 'Don’t Understand Bitcoin? This Man Will Mumble An Explanation At You',
'thumbnail': 're:^https?://.*\.jpe?g$',
'uploader': 'ClickHole',
'uploader_id': 'clickhole',
}
},
# AdobeTVVideo embed # AdobeTVVideo embed
{ {
'url': 'https://helpx.adobe.com/acrobat/how-to/new-experience-acrobat-dc.html?set=acrobat--get-started--essential-beginners', 'url': 'https://helpx.adobe.com/acrobat/how-to/new-experience-acrobat-dc.html?set=acrobat--get-started--essential-beginners',

Loading…
Cancel
Save