g1879 / DrissionPage

基于python的网页自动化工具。既能控制浏览器,也能收发数据包。可兼顾浏览器自动化的便利性和requests的高效率。功能强大,内置无数人性化设计和便捷功能。语法简洁而优雅,代码量少。
http://g1879.gitee.io/drissionpagedocs
BSD 3-Clause "New" or "Revised" License
6.2k stars 613 forks source link

befour this i am using seleniumbase now i wan to use DrissionPage with proxy #275

Closed Akshay-Shingala closed 2 weeks ago

Akshay-Shingala commented 3 weeks ago

in seleniumbase i use in command python w.py --proxy=proxy=USERNAME:PASSWORD@pr.oxylabs.io:7777 in DrissionPage how can I set this ?

akbarahmadshah commented 3 weeks ago

You do this with ChromiumOptions.set_proxy(). Plus, username:pass isn't working at the moment so you must have your machine ip whitelisted and then pass the proxy string here with just IP:PORT.

g1879 commented 2 weeks ago

目前要用这种代理需要使用插件,如SwitchyOmega。