Skip to content

Strip out the scheme from the proxy server address URI. #380

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

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

Kshitij-Jande
Copy link
Contributor

As stated in the proxy documentation part here, this example shows proxy server address set to http://your_proxy_server:port, which throws an error since the IPv4 check is made with the URL scheme included such as http://your_proxy_server, thus causing the condition to skip and resulting in an AssertionError.

This pull request strips out any URL scheme found in the proxy server address, matching with the example provided within the documentation.

@VinciGit00 VinciGit00 changed the base branch from main to pre/beta June 13, 2024 11:23
@VinciGit00 VinciGit00 merged commit a6757ac into ScrapeGraphAI:pre/beta Jun 13, 2024
2 checks passed
Copy link

🎉 This PR is included in version 1.7.0-beta.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants