Merge pull request #376 from arabcoders/dev
Some checks failed
Build WebView wrappers / build (amd64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (amd64, windows-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, macos-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, ubuntu-latest) (push) Has been cancelled
Build WebView wrappers / build (arm64, windows-latest) (push) Has been cancelled

fix breaking change to playlist handling.
This commit is contained in:
Abdulmohsen 2025-08-15 04:47:20 +03:00 committed by GitHub
commit 650ba810a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -292,7 +292,8 @@ class Download:
if isinstance(self.info_dict, dict) and len(self.info_dict) > 1:
self.logger.debug(f"Downloading '{self.info.url}' using pre-info.")
_dct: dict = self.info_dict.copy()
_dct.update([{k: v for k, v in self.info.extras.items() if k not in _dct or not _dct.get(k)}])
if isinstance(self.info.extras, dict) and len(self.info.extras) > 0:
_dct.update({k: v for k, v in self.info.extras.items() if k not in _dct or not _dct.get(k)})
cls.process_ie_result(ie_result=_dct, download=True)
ret: int = cls._download_retcode