Remove video_result helper method
Calling it was more complex then actually including the type in the video info
This commit is contained in:
parent
81082e046e
commit
690e872c51
3 changed files with 4 additions and 7 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue