aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-15 22:13:01 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-15 22:14:29 +0600
commitc798f15b989bc8c3578c5b0baf75f4fb4760ba81 (patch)
tree463f14017d548fe50e708426c1c57657085df257 /youtube_dl
parent2dcc114f84ebd6ea18b60a57070bcb81861d8f84 (diff)
[generic] Add test for playwire embed (#5430)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/generic.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index ab3538694..7f2faa935 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -622,6 +622,17 @@ class GenericIE(InfoExtractor):
'age_limit': 0,
},
},
+ # Playwire embed
+ {
+ 'url': 'http://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html',
+ 'info_dict': {
+ 'id': '3519514',
+ 'ext': 'mp4',
+ 'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
+ 'thumbnail': 're:^https?://.*\.png$',
+ 'duration': 45.115,
+ },
+ },
# 5min embed
{
'url': 'http://techcrunch.com/video/facebook-creates-on-this-day-crunch-report/518726732/',