Commit 17a9830f authored by liyang's avatar liyang

feat:facebook 适配windows

parent c98de664
......@@ -30,7 +30,7 @@ from selenium.webdriver.support import expected_conditions as EC
def reptile(browser=None, search_word=""):
print(f"搜索词:{search_word}")
url = "https://www.facebook.com/"
browser = browser or create(no_headless=False,using_user_data=False)
browser = browser or create(no_headless=False,using_user_data=True)
# 打开网页
browser.get(url)
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment