Skip to content

Commit 7f3b68c

Browse files
authored
Merge pull request #133 from qq254950134/patch-1
Update browser_utils.py
2 parents 8c4f086 + 3a87a35 commit 7f3b68c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

browser_utils.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ def _get_browser_options(self):
2626
except FileNotFoundError as e:
2727
logging.warning(f"警告: {e}")
2828

29-
co.set_user_agent(
30-
os.getenv('BROWSER_USER_AGENT', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.6723.92 Safari/537.36")
31-
)
29+
3230
co.set_pref("credentials_enable_service", False)
3331
co.set_argument("--hide-crash-restore-bubble")
3432
proxy = os.getenv('BROWSER_PROXY')

0 commit comments

Comments
 (0)