mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Remove video_result helper method
Calling it was more complex then actually including the type in the video info
This commit is contained in:
		| @@ -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 | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister