Proxy Ninja
Python3 Module to get https or socks(4) proxies by scraping the web.
Installation
Before installing the module , please install the ChromiumDriver as following debian/kali
sudo apt-get update && sudo apt-get full-upgrade -y
sudo apt-get install chromium-driver
Use the package manager pip to install the module. if not installed, install it using the following command.
sudo apt-get install python3-pip
It is advised to install the python requirements in a virtual environment, for that install the venv package.
python3 -m pip install venv
python3 -m venv env
source env/bin/activate
After that run the following commands:
python3 -m pip install <pkg> -U
Usage/Examples
Usage:
==> Download the proxies.
#!/usr/bin/python3
from proxy_ninja import fetch_proxies
fetch_proxies(PROXY_TYPE, OUTPUT_FILENAME, OUTPUT_FORMAT)
- PROXY_TYPE: https/socks
- OUTPUT_FILENAME: Enter the filename
- OUTPUT_FORMAT: txt/json
-- proxies gonna save in parent dir.
Example:
#!/usr/bin/python3
from proxy_ninja import fetch_proxies
fetch_proxies("socks", "socks_proxy", "json")
==> Get proxies as json
#!/usr/bin/python3
from proxy_ninja import proxies_json
json_list = proxies_json(PROXY_TYPE)
print(json_list)
- PROXY_TYPE: https/socks
This will gonna return a list.
Example:
#!/usr/bin/python3
from proxy_ninja import proxies_json
json_list = proxies_json("https")
print(json_list)
Features
- ChromeDriver to scrape the site.
- Stealth Profle implmented.
- Save output in txt or json format.
- User Friendly. :D
License
Feedback
If you have any feedback, please reach out to us at akalucifr@protonmail.ch
Change Log
0.1.0 (17/8/2022)
- initial release
Metadata
Release files for proxy-ninja 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| proxy-ninja-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for proxy-ninja-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| proxy_ninja-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for proxy_ninja-0.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / proxy-ninja-0.1.0.tar.gz
| Download URL | proxy-ninja-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fbcfef2dcfcf7ab0923967ef5da56c78a12915675a6373bf33cf8207ef1e89c
|
|
BLAKE2b-256 checksum How to use checksums |
12dae154042f76c5e1b00610b492cf08acd7a0a3ade99c81cdfd41466b617d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / proxy_ninja-0.1.0-py3-none-any.whl
| Download URL | proxy_ninja-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abf03f6206f6f9e04792f1f3e116a23e753c5dd79e450c9b39b58bb5bab5a9c5
|
|
BLAKE2b-256 checksum How to use checksums |
c9d67d38ddf0d28b5172e5a6b4cbce60ebea8ee2abed3fad980d31d79c188cb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for proxy-ninja 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.