看板 Python 關於我們 聯絡資訊
如題 以下程式碼: from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.action_chains import ActionChains chromeOptions = webdriver.ChromeOptions() chromeOptions.add_argument('--proxy-server={0}'.format(proxies)) driver = webdriver.Chrome(executable_path=r'/Users/terry/chromedriver' ,chrome_options = chromeOptions) driver.get("https://lazypenweb.wordpress.com") proxies變數裡面存放的是我從免費代理網站的ip有確認是可以用的proxy 但瀏覽器就會報錯 ERR_NO_SUPPORTED_PROXIES 是我哪裡沒設定或寫錯了媽?已經好幾天了這問題都解決不了QQ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.217.142.254 ※ 文章網址: https://www.ptt.cc/bbs/Python/M.1513182261.A.467.html
ckc1ark: 先直接執行chrome代--proxy-server 看是不是這邊就有出錯 12/14 00:35
goofi0211: 後來在測試只能連上http的網站https的網站都連不上 12/14 16:42