mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-16 00:56:37 +03:00
@@ -233,8 +233,8 @@ class EJSBaseJCP(JsChallengeProvider):
|
||||
self.logger.debug('Clearing outdated cached script')
|
||||
self.ie.cache.store(self._CACHE_SECTION, script_type.value, None)
|
||||
continue
|
||||
script_hashes = self._ALLOWED_HASHES[script.type].get(script.variant, [])
|
||||
if script_hashes and script.hash not in script_hashes:
|
||||
expected_hash = self._ALLOWED_HASHES[script.type].get(script.variant)
|
||||
if expected_hash and script.hash != expected_hash:
|
||||
self.logger.warning(
|
||||
f'Hash mismatch on challenge solver {script.type.value} script '
|
||||
f'(source: {script.source.value}, variant: {script.variant}, hash: {script.hash})!{provider_bug_report_message(self)}')
|
||||
|
||||
Reference in New Issue
Block a user