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

@ -48,6 +48,7 @@ class ArchiveOrgIE(InfoExtractor):
formats.sort(key=lambda fdata: fdata['file_size'])
info = {
'_type': 'video',
'id': video_id,
'title': title,
'formats': formats,
@ -63,4 +64,4 @@ class ArchiveOrgIE(InfoExtractor):
info['url'] = formats[-1]['url']
info['ext'] = determine_ext(formats[-1]['url'])
return self.video_result(info)
return info