download files through random free proxies
Project description
proxyfile
A command-line tool to download files through random free proxies from spys.me.
Installation
pip install proxyfile
Usage
To download a file, simply provide the URL:
proxyfile <URL>
For example:
proxyfile http://speed.hetzner.de/100MB.bin
This will download the file 100MB.bin into your current directory.
Options
You can specify an output file, filter proxies by country, and set the number of retries.
-o, --outfile: Specify the output file name.-c, --country: Use proxies from a specific country (e.g.,US,DE).-r, --max-retries: Set the maximum number of proxies to try.
Example:
Download a file using a proxy from the United States and save it as my_file.zip, trying up to 10 different proxies:
proxyfile http://example.com/file.zip -o my_file.zip -c US -r 10
How it Works
proxyfile fetches a list of free proxies from spys.me. It then tries to download the requested file through a randomly selected proxy. If the download fails, it will try another proxy until the download is successful or the maximum number of retries is reached.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file proxyfile-0.1.0.tar.gz.
File metadata
- Download URL: proxyfile-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
656c07d8c7b61542a78a2b8adf84d120db55a0b90fa860a0f22bb8bd83069cd3
|
|
| MD5 |
2fdbd40c0aee91f519935891c30e04c8
|
|
| BLAKE2b-256 |
70528821445a1213255952f17e18c54349197d5e40389cb9c62d9f43dfabccdb
|
File details
Details for the file proxyfile-0.1.0-py3-none-any.whl.
File metadata
- Download URL: proxyfile-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.11.0-29-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cb8c4042593fac72261b2b71e1275eeaf13a78726b889ae56ba5bb499ec07e5
|
|
| MD5 |
b906d74fb852c9610fbf66e641631d3f
|
|
| BLAKE2b-256 |
7bbcc6a8671895da15a2b43444840dd9896015cce42a3fb452a37ea75b92d836
|