This commit is contained in:
M.Yasoob Khalid 2013-06-28 20:55:00 +05:00
parent 517ec10077
commit ea02372c96
2 changed files with 11 additions and 1 deletions

View File

@ -687,5 +687,15 @@
"upload_date": "20130627", "upload_date": "20130627",
"description": "Check out this video where some of the basics of Arma III is explained." "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."
}
} }
] ]

View File

@ -13,7 +13,7 @@ class RingTvIE(InfoExtractor):
title = self._search_regex(r'<title>(.+?)</title>', title = self._search_regex(r'<title>(.+?)</title>',
webpage, 'video title').replace(' | RingTV','') webpage, 'video title').replace(' | RingTV','')
description = self._search_regex(r'<div class="blurb">(.+?)</div>', 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)) 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)) thumbnail_url = "http://ringtv.craveonline.springboardplatform.com/storage/ringtv.craveonline.com/snapshots/%s.jpg" %(str(video_id))
ext = final_url.split('.')[-1] ext = final_url.split('.')[-1]