g1879 / DrissionPage

Python based web automation tool. Powerful and elegant.
https://DrissionPage.cn/
BSD 3-Clause "New" or "Revised" License
8.21k stars 778 forks source link

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

Closed Akshay-Shingala closed 4 months ago

Akshay-Shingala commented 4 months 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 4 months 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 4 months ago

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