Remove video_result helper method

Calling it was more complex then actually including the type in the video info
This commit is contained in:
Philipp Hagemeister 2013-07-11 12:12:23 +02:00
parent 81082e046e
commit 690e872c51
3 changed files with 4 additions and 7 deletions

View file

@ -67,6 +67,7 @@ class DreiSatIE(InfoExtractor):
formats.sort(key=_sortkey)
info = {
'_type': 'video',
'id': video_id,
'title': video_title,
'formats': formats,
@ -81,4 +82,4 @@ class DreiSatIE(InfoExtractor):
info['url'] = formats[-1]['url']
info['ext'] = determine_ext(formats[-1]['url'])
return self.video_result(info)
return info