0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-28 01:41:06 +00:00

[ie/adobepass] Fix provider requests (#11472)

Fix bug in dcfeea4dd5

Closes #11469
Authored by: bashonly
This commit is contained in:
bashonly 2024-11-06 21:26:05 +00:00 committed by GitHub
parent 282e19db82
commit 85fdc66b6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1362,7 +1362,7 @@ class AdobePassIE(InfoExtractor): # XXX: Conventionally, base classes should en
def _download_webpage_handle(self, *args, **kwargs):
headers = self.geo_verification_headers()
headers.update(kwargs.get('headers', {}))
headers.update(kwargs.get('headers') or {})
kwargs['headers'] = headers
return super()._download_webpage_handle(
*args, **kwargs)