Skip to content
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

Random User-Agent + Proxy support #15

Open
ServerRaider opened this issue Dec 10, 2020 · 1 comment
Open

Random User-Agent + Proxy support #15

ServerRaider opened this issue Dec 10, 2020 · 1 comment

Comments

@ServerRaider
Copy link

Maybe implement a function like --random-agent to get a random User-Agent on evry new request.
Also you can implement use of proxy-servers (socks4,socks5,http) to avoid problems with IDS like CloudFlare and whatever.

@the-c0d3r
Copy link
Owner

@ServerRaider Thanks for the suggestion.

Random user-agent on every request might make it slower. Currently it is only getting a random user-agent and using the same agent on all the requests.
As for the proxy, I can implement it inside, but there is another simpler way, using linux env vars.

export HTTP_PROXY=10.10.1.10:3128
export HTTPS_PROXY=10.10.1.11:1080

Export those variables before executing the code and it should use the proxy.
I will consider adding those two features into the code. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants