New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

protatoquests

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protatoquests

Automatic proxy rotation for anonymous web requests.

  • 1.0.2
  • PyPI
  • Socket score

Maintainers
1

Protatoquests (Proxy Rotation Requests)

PyPI Downloads Py versions


Automatic proxy rotation for anonymous web requests.


The intended usage is to by-pass server's IP blocking by using a pool of free proxies to perform requests and web scraping. It's important to note that using anonymous proxies is risky, unsafe and will cause credentials leaks.

Installation

pip install protatoquests

Usage

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")

Considerations

  1. The library gets socks5 free proxies from https://advanced.name/freeproxy. It tries to use the first proxy available, if it fails, it tries the next one; therefore the latency will be higher than using a single proxy or no proxy at all.
  2. The library API is intended as a drop-in replacement for the requests library, although not all the methods are implemented.

Contributing

Contributions to the GitHub repository are welcome! Please open a PR with your changes.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc