1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-11-20 01:02:30 +01:00

Update default user agent

This commit is contained in:
Alexander Graf 2024-08-10 17:54:44 +02:00
parent ae9a5efa85
commit 8159229203
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ How to Download
.. option:: --user-agent USER_AGENT
User Agent to use for HTTP requests. Per default, Instaloader pretends being
Chrome/126 on Linux.
Chrome/127 on Linux.
.. option:: --max-connection-attempts N

View File

@ -33,7 +33,7 @@ def copy_session(session: requests.Session, request_timeout: Optional[float] = N
def default_user_agent() -> str:
return ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 '
'(KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36')
'(KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36')
def default_iphone_headers() -> Dict[str, Any]: