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

bug #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

bug #43

wants to merge 1 commit into from

Conversation

ZmN5
Copy link

@ZmN5 ZmN5 commented Apr 18, 2018

when proxy url like this http://XXX.XXX.XXX.XXX without user:passwd, the scrapy will report using proxy http://XXX.XXX.XXX.XXX but actually it not.

…the scrapy will report using proxy <http://XXX.XXX.XXX.XXX> but actually it not.
Copy link

@BriungRi BriungRi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if I have enough context to know if there are consequences to this bug fix. That said, this does look like a bug where a value is not set for both the user:pass and non user:pass cases. I made this custom change to my own randomproxy.py and I was able to verify that this fixes the non user:pass case by querying http://api.ipify.org and getting back the proxy IP. Before the fix, I would get my own local IP which was not expected.

Would be great if this change could be merged into master since I can't imagine this package being usable without it actually proxying for the non user:pass case.

Copy link

@catapulta catapulta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very very much needed. Otherwise, the agent only works if there's a user and password!
Please merge this PR.

@vignesh-reddy
Copy link

vignesh-reddy commented Oct 30, 2020

Commenting to just bump this up, this is much needed. Please merge it!!

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

Successfully merging this pull request may close these issues.

5 participants