소스 검색

请求头修改

lizhikun 1 년 전
부모
커밋
99e94e3ee1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/webapi.py

+ 1 - 1
lib/webapi.py

@@ -403,7 +403,7 @@ class APIMgr():
     def User_info(self):
         headers = {
             'appId': '10000',
-            'User-Agent': 'Apifox/1.0.0 (https://apifox.com)'
+            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67'
         }
         s = GSTORE["s"]
         params = {}