[ie/instagram] Do not hardcode user-agent (#11155)

Closes #10700
Authored by: poyhen
This commit is contained in:
poyhen 2024-10-08 02:28:08 +03:00 committed by GitHub
parent cf85cba5d9
commit 079a7bc334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,6 @@ class InstagramBaseIE(InfoExtractor):
'X-IG-WWW-Claim': '0', 'X-IG-WWW-Claim': '0',
'Origin': 'https://www.instagram.com', 'Origin': 'https://www.instagram.com',
'Accept': '*/*', 'Accept': '*/*',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36',
} }
def _perform_login(self, username, password): def _perform_login(self, username, password):