Преглед изворни кода

Use the 'extractor_key' field for the download archive file

It has the same value as the ie_key.
Jaime Marquínez Ferrándiz пре 11 година
родитељ
комит
d31209a144
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):
         # Future-proof against any change in case
         # and backwards compatibility with prior versions
-        extractor = info_dict.get('extractor')
+        extractor = info_dict.get('extractor_key')
         if extractor is None:
             if 'id' in info_dict:
                 extractor = info_dict.get('ie_key')  # key in a playlist