We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drissionpage版本:4.1.0.13 python版本:3.12.1
` from DrissionPage import Chromium,ChromiumOptions from DrissionPage import SessionPage,SessionOptions
co=ChromiumOptions() co.set_proxy('http://127.0.0.1:778') page_d = Chromium(co).latest_tab print(page_d.mode) page_d.get('https://google.com') print(page_d.title)
so=SessionOptions() so.set_proxies('http://127.0.0.1:778') page_s = SessionPage(so) page_s.get('https://google.com') print(page_s.title) ` 结果是,page_d 结果没问题,page_s报错,url换成baidu.com就可以。另外page_d.change_mode()也会出错。总结就是s模式下的代理不起作用了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
drissionpage版本:4.1.0.13
python版本:3.12.1
`
from DrissionPage import Chromium,ChromiumOptions
from DrissionPage import SessionPage,SessionOptions
co=ChromiumOptions()
co.set_proxy('http://127.0.0.1:778')
page_d = Chromium(co).latest_tab
print(page_d.mode)
page_d.get('https://google.com')
print(page_d.title)
so=SessionOptions()
so.set_proxies('http://127.0.0.1:778')
page_s = SessionPage(so)
page_s.get('https://google.com')
print(page_s.title)
`
结果是,page_d 结果没问题,page_s报错,url换成baidu.com就可以。另外page_d.change_mode()也会出错。总结就是s模式下的代理不起作用了。
The text was updated successfully, but these errors were encountered: