- title = self._search_regex(r'<title>(.+?)</title>',
- webpage, 'video title').replace(' | RingTV','')
- description = self._search_regex(r'<div class="blurb">(.+?)</div>',
- webpage, 'Description')
- 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]
- return [{
- 'id' : video_id,
- 'url' : final_url,
- 'ext' : ext,
- 'title' : title,
- 'thumbnail' : thumbnail_url,
- 'description' : description,
- }]
+
+ if mobj.group('type') == 'news':
+ video_id = self._search_regex(
+ r'''(?x)<iframe[^>]+src="http://cms\.springboardplatform\.com/
+ embed_iframe/[0-9]+/video/([0-9]+)/''',
+ webpage, 'real video ID')
+ title = self._og_search_title(webpage)
+ description = self._html_search_regex(
+ r'addthis:description="([^"]+)"',
+ webpage, 'description', fatal=False)
+ final_url = "http://ringtv.craveonline.springboardplatform.com/storage/ringtv.craveonline.com/conversion/%s.mp4" % video_id
+ thumbnail_url = "http://ringtv.craveonline.springboardplatform.com/storage/ringtv.craveonline.com/snapshots/%s.jpg" % video_id
+
+ return {
+ 'id': video_id,
+ 'url': final_url,
+ 'title': title,
+ 'thumbnail': thumbnail_url,
+ 'description': description,
+ }