Added test for http://ringtv.craveonline.com/
This commit is contained in:
parent
517ec10077
commit
ea02372c96
@ -687,5 +687,15 @@
|
||||
"upload_date": "20130627",
|
||||
"description": "Check out this video where some of the basics of Arma III is explained."
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "RingTv",
|
||||
"url": "http://ringtv.craveonline.com/videos/video/746619-canelo-alvarez-talks-about-mayweather-showdown",
|
||||
"file": "746619.mp4",
|
||||
"md5": "7c46b4057d22de32e0a539f017e64ad3",
|
||||
"info_dict": {
|
||||
"title": "Canelo Alvarez talks about Mayweather showdown",
|
||||
"description": "Saul \"Canelo\" Alvarez spoke to the media about his Sept. 14 showdown with Floyd Mayweather after their kick-off presser in NYC. Canelo is motivated and confident that he will have the speed and gameplan to beat the pound-for-pound king."
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -13,7 +13,7 @@ class RingTvIE(InfoExtractor):
|
||||
title = self._search_regex(r'<title>(.+?)</title>',
|
||||
webpage, 'video title').replace(' | RingTV','')
|
||||
description = self._search_regex(r'<div class="blurb">(.+?)</div>',
|
||||
webpage, 'Description')
|
||||
webpage, 'Description').replace('\\','')
|
||||
final_url = "http://ringtv.craveonline.springboardplatform.com/storage/ringtv.craveonline.com/conversion/%s.mp4" %(str(video_id))
|
||||
thumbnail_url = "http://ringtv.craveonline.springboardplatform.com/storage/ringtv.craveonline.com/snapshots/%s.jpg" %(str(video_id))
|
||||
ext = final_url.split('.')[-1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user