1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

Merge pull request #1830 from jaimeMF/download-archive

Use the 'extractor_key' field for the download archive file
This commit is contained in:
Philipp Hagemeister 2013-11-25 14:14:25 -08:00
commit d8ec4959c8

View File

@ -837,7 +837,7 @@ def post_process(self, filename, ie_info):
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