-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
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
Support for sending traffic via HTTP proxies #123
Comments
I'm happy to add this but I'm not sure how best to test this. Do you have any guidance on an easy way to test that this proxy option is working? Maybe an existing proxy I can run this through, or a proxy server that's easy to get running on macOS? |
Sure, you can find free proxies on https://free-proxy-list.net/ and test the parameter with them. |
@simonw is there any plan to add this? seems like an easy PR that would add a ton of functionality |
I’d accept a PR for this!
…On Sat, Sep 14, 2024 at 21:14 Manuel Garrido ***@***.***> wrote:
@simonw <https://github.com/simonw> is there any plan to add this? seems
like an easy PR that would add a ton of functionality
—
Reply to this email directly, view it on GitHub
<#123 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACK7ZGW3DPL6ZDTIJ7YNDZWSKLXAVCNFSM6AAAAABOHECW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGEZTMMRTGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I built a prototype of this in a branch: feaefdf Used like this: shot-scraper har https://doge.gov/savings -o savings.zip --wait 2000 \
--proxy-server $PROXY_SERVER --proxy-username $PROXY_USERNAME --proxy-password $PROXY_PASSWORD Still needs more testing, and needs to be added to a bunch of other commands, plus documentation. |
One thing I haven't quite figured out is the difference between I've been testing with a Also I had to do this to get anything to work: shot-scraper/shot_scraper/cli.py Lines 452 to 460 in feaefdf
I'd like to understand if that |
Tried this for the first time here: simonw/scrape-doge-gov@7aca228 |
I am going to add environment, variable support here, so you can set |
Please add
--proxy
parameter to CLI interface (https://playwright.dev/python/docs/network#http-proxy):cli.py
The text was updated successfully, but these errors were encountered: