mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
Set the extractor key in playlists entries
If they were videos the extractor key wasn't being set anywhere else Closes 877
This commit is contained in:
parent
3054ff0cbe
commit
8027175600
1 changed files with 5 additions and 0 deletions
|
@ -539,6 +539,11 @@ def process_ie_result(self, ie_result, download=True, extra_info={}):
|
|||
'playlist': playlist,
|
||||
'playlist_index': i + playliststart,
|
||||
}
|
||||
if not 'extractor' in entry:
|
||||
# We set the extractor, if it's an url it will be set then to
|
||||
# the new extractor, but if it's already a video we must make
|
||||
# sure it's present: see issue #877
|
||||
entry['extractor'] = ie_result['extractor']
|
||||
entry_result = self.process_ie_result(entry,
|
||||
download=download,
|
||||
extra_info=extra)
|
||||
|
|
Loading…
Reference in a new issue