From 05a0838d86aeed84ed3d70babd92c3bb9f6c9773 Mon Sep 17 00:00:00 2001 From: lededev Date: Sun, 31 Oct 2021 03:21:39 +0800 Subject: [PATCH] UA update to chrome v95 --- ADC_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADC_function.py b/ADC_function.py index 4da8909..6ae5d2a 100755 --- a/ADC_function.py +++ b/ADC_function.py @@ -22,7 +22,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/94.0.4606.81 Safari/537.36' +G_USER_AGENT = r'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36' # 网页请求核心 def get_html(url, cookies: dict = None, ua: str = None, return_type: str = None):