From f728f3336308773f114c3af7d1b31384dd1a7531 Mon Sep 17 00:00:00 2001 From: lededev Date: Thu, 7 Apr 2022 12:38:27 +0800 Subject: [PATCH] UserAgent update to Chrome 100.0 --- ADC_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADC_function.py b/ADC_function.py index 993e5dc..30a5127 100644 --- a/ADC_function.py +++ b/ADC_function.py @@ -26,7 +26,7 @@ def getXpathSingle(htmlcode, xpath): return result1 -G_USER_AGENT = r'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36' +G_USER_AGENT = r'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36' def get_html(url, cookies: dict = None, ua: str = None, return_type: str = None, encoding: str = None):