protatoquests: Proxy Rotation Requests

Posted by nicoloboschi@reddit | Python | View on Reddit | 5 comments

I wanted to showcase my newest Python library that I have been using for some months now to perform anonymous webscraping.

Repo: https://github.com/nicoloboschi/protatoquests

What My Project Does

Helps with webscraping by rotating proxies to not get blocked by ip-blocking from the server (or rate-limited).

Proxies are gathered from https://advanced.name/freeproxy automatically

It's free, open source and based on free proxies

pip installprotatoquests

import requests
import protatoquests

# this one will contact the server directly
response = requests.get("https://google.com")
# this one will contact the server using an anonymous proxy 
response = protatoquests.get("https://google.com")

Target Audience

Any developer that needs to serious web scraping.

It is not meant for production since it might leak credentials if the server is protected by authentication.

Comparison

There are some similar alternatives to do the same but they are outdated and they are not a drop-in replacement (you need to get proxies, pass it to library...), such as proxyscrape