소스 검색

用户代理

xyxie 1 년 전
부모
커밋
2306408b11
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      metting.py

+ 1 - 1
metting.py

@@ -87,7 +87,7 @@ if __name__ == "__main__":
     options.add_argument('--disable-gpu')
     options.add_argument('--no-sandbox')
     options.add_argument('--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, '
-                         'like Gecko) Chrome/111.0.0.0 Safari/537.36')
+                         'like Gecko) Chrome/118.0.5993.70 Safari/537.36')
     options.add_argument(" window-size=1920,1080")
     # options.add_argument(" window-size=1920,1080")
     s = Service(executable_path='/home/code/python/meeting_probabilities/chromedriver')