projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove video_result helper method
[youtube-dl]
/
youtube_dl
/
extractor
/
archiveorg.py
diff --git
a/youtube_dl/extractor/archiveorg.py
b/youtube_dl/extractor/archiveorg.py
index 29cb9bdee1e032fc6c316a4b6806a22f55ffb662..7efd1d82324c5397bb6d6f10e1bfa993a2531584 100644
(file)
--- a/
youtube_dl/extractor/archiveorg.py
+++ b/
youtube_dl/extractor/archiveorg.py
@@
-48,6
+48,7
@@
class ArchiveOrgIE(InfoExtractor):
formats.sort(key=lambda fdata: fdata['file_size'])
info = {
formats.sort(key=lambda fdata: fdata['file_size'])
info = {
+ '_type': 'video',
'id': video_id,
'title': title,
'formats': formats,
'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'])
info['url'] = formats[-1]['url']
info['ext'] = determine_ext(formats[-1]['url'])
- return
self.video_result(info)
\ No newline at end of file
+ return
info
\ No newline at end of file