diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-07-11 12:12:23 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-07-11 12:12:30 +0200 |
commit | 690e872c51646fd99147f33be38fbbb74c91d8fb (patch) | |
tree | a2070faf61536e3cd85756558e8e8acdef7cb7c3 /youtube_dl/extractor/archiveorg.py | |
parent | 81082e046eef7afa012076546b22e9f43d0c1e0f (diff) |
Remove video_result helper method
Calling it was more complex then actually including the type in the video info
Diffstat (limited to 'youtube_dl/extractor/archiveorg.py')
-rw-r--r-- | youtube_dl/extractor/archiveorg.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/archiveorg.py b/youtube_dl/extractor/archiveorg.py index 29cb9bdee..7efd1d823 100644 --- 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 = { + '_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)
\ No newline at end of file + return info
\ No newline at end of file |