From 89d11f147f900500facd49a74e32211a22e60e18 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 20 Dec 2020 15:11:47 +0100 Subject: [PATCH] Update user agent --- pynyaata/connectors/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynyaata/connectors/core.py b/pynyaata/connectors/core.py index 616970d..62ee3c3 100644 --- a/pynyaata/connectors/core.py +++ b/pynyaata/connectors/core.py @@ -113,7 +113,7 @@ def curl_content(url, params=None, ajax=False, debug=True): 'cmd': 'request.%s' % method, 'url': url, 'session': cloudproxy_session, - 'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.0 Safari/537.36', + 'userAgent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0', 'postData': '%s' % urlencode(params) if (method == 'post') else '' }))