瀏覽代碼

Merge pull request #1830 from jaimeMF/download-archive

Use the 'extractor_key' field for the download archive file
Philipp Hagemeister 12 年之前
父節點
當前提交
d8ec4959c8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -837,7 +837,7 @@ class YoutubeDL(object):
     def _make_archive_id(self, info_dict):
     def _make_archive_id(self, info_dict):
         # Future-proof against any change in case
         # Future-proof against any change in case
         # and backwards compatibility with prior versions
         # and backwards compatibility with prior versions
-        extractor = info_dict.get('extractor')
+        extractor = info_dict.get('extractor_key')
         if extractor is None:
         if extractor is None:
             if 'id' in info_dict:
             if 'id' in info_dict:
                 extractor = info_dict.get('ie_key')  # key in a playlist
                 extractor = info_dict.get('ie_key')  # key in a playlist