Skip to main content

A simple package made using Python and requests to get proxies from multiple sites!

Project description

ProxyGrab

PyPI PyPI - License Downloads
CI (pip)

I made this software to scrap proxies for my web scrapping and other testing purposes. This program just uses requests to get the response from API and return the proxies.

Installation

pip install proxygrab --upgrade

Usage:

In Python Script

import proxygrab

socks5_list = proxygrab.get_socks5()  # Returns socks5 proxylist
socks4_list = proxygrab.get_socks4()  # Returns socks4 proxylist
http_list = proxygrab.get_http()  # Returns http proxylist
https_list = proxygrab.get_https()  # Returns https proxylist
proxy_list = proxygrab.get_proxy(type)  # Type can any one from http, https, socks4, socks5

Console

proxygrab --help
  • To save proxies to file:
proxygrab --type http --save
  • Save to custom filename:
proxygrab --type http --outfile custom_filename.txt --save
  • Save 100 proxies to custom filename:
proxygrab --type http --count 100 --outfile custom_filename.txt --save
  • Print only 5 proxies to terminal:
proxygrab --type http --count 5
  • Print only 5 proxies to terminal:
proxygrab --type http --count 5

If no proxy type is specified, the program will show this message:

"No Proxy type specified, check help by proxygrab --help"

Contribuiting

Wanna help to improve this project?

Make sure to follow these before opening a PR:

  • Make sure your PR is formatted with Black.
  • Make sure the package is working.

Built With

  • Python - Programming Language

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Credits

Proxy Server data courstey of:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ProxyGrab-0.1.6.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

ProxyGrab-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file ProxyGrab-0.1.6.tar.gz.

File metadata

  • Download URL: ProxyGrab-0.1.6.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.7

File hashes

Hashes for ProxyGrab-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5b0fd84ce9b70f60759b66233720b2da28bf6ea92be37bdfd9ca22aff3a097ce
MD5 9efb577d21856dd685b909cecb5b66e5
BLAKE2b-256 1ee58fb0e17f710fadf615568294da4502db083da77b79f2a74111bb0b1ff6b0

See more details on using hashes here.

File details

Details for the file ProxyGrab-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: ProxyGrab-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ProxyGrab-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3118f737f89b29e74d1dc98a0ce6296b017c38a10114bbbc89d13bd9190bbe7d
MD5 878c0e04f927b5fef19039045b1f5b39
BLAKE2b-256 2900bc95f46b400c90f121263252a95564e860a6757389c6a67a73ad139f7326

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page