mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Use the 'extractor_key' field for the download archive file
It has the same value as the ie_key.
This commit is contained in:
parent
529a2e2cc3
commit
d31209a144
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ def post_process(self, filename, ie_info):
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue