yellowDog
2024-08-28 f1d5340119b58f1cb921ec03f96fa4af9d3ccd8e
refactor:关闭代理
1 files modified
4 ■■■■ changed files
login.py 4 ●●●● patch | view | raw | blame | history
login.py
@@ -19,7 +19,7 @@
    while True:
        try:
            browser = ChromiumOptions().auto_port()
            browser.set_proxy(f'http://{get_proxy()}')
            # browser.set_proxy(f'http://{get_proxy()}')
            page = ChromiumPage(browser)
            page.set.window.size(int(1920 / 1.2), int(1080 / 1.2))
            user_agent = random_user_agent.get_random_user_agent()
@@ -57,7 +57,7 @@
    while True:
        try:
            browser = ChromiumOptions().auto_port()
            browser.set_proxy(f'http://{get_proxy()}')
            # browser.set_proxy(f'http://{get_proxy()}')
            page = ChromiumPage(browser)
            page.set.window.size(int(1920 / 1.2), int(1080 / 1.2))
            page.clear_cache()