From 9eb2339028e8fb7cb9c44092bc81827aa4819947 Mon Sep 17 00:00:00 2001 From: Alexander Graf <17130992+aandergr@users.noreply.github.com> Date: Tue, 10 Aug 2021 09:24:41 +0200 Subject: [PATCH] Update default user agent string --- docs/cli-options.rst | 2 +- instaloader/instaloadercontext.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli-options.rst b/docs/cli-options.rst index 037b19b..9d5b0cd 100644 --- a/docs/cli-options.rst +++ b/docs/cli-options.rst @@ -273,7 +273,7 @@ How to Download .. option:: --user-agent USER_AGENT User Agent to use for HTTP requests. Per default, Instaloader pretends being - Chrome/89 on Linux. + Chrome/92 on Linux. .. option:: --max-connection-attempts N diff --git a/instaloader/instaloadercontext.py b/instaloader/instaloadercontext.py index 39f4361..5b3238e 100644 --- a/instaloader/instaloadercontext.py +++ b/instaloader/instaloadercontext.py @@ -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/89.0.4389.90 Safari/537.36' + '(KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36' class InstaloaderContext: