Skip to content
Snippets Groups Projects
Commit d31209a1 authored by Jaime Marquínez Ferrándiz's avatar Jaime Marquínez Ferrándiz
Browse files

Use the 'extractor_key' field for the download archive file

It has the same value as the ie_key.
parent 529a2e2c
No related branches found
No related tags found
No related merge requests found
...@@ -837,7 +837,7 @@ class YoutubeDL(object): ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment