XRDownloader
XploitsR | XRDownloader is a module for faster downloading of files. It supports all HTTP protocols and also supports auto resume failed downloads. Has a progress-bar to show download statistics also.
Installation:
pip install xrdownloader
Latest development release on GitHub
Pull and install
pip install -e git+https://github.com/XploitsR/XRDownloader.git@master#egg=XRDownloader
Usage:
# import xrdownloader module
import xrdownloader
# XRDownloader returns the response from ongoing downloads
xr = xrdownloader.XRDownloader()
# To download single file, just put in the url
download("your-file-url")
# To download multiple files, add [] and seperate the links with ,
download(["link-1","link-2","link-3","and so on.."])
# You can also specify a file that contains your links
download("your-file") # example: download("myLinks.txt")
Examples:
single file download
import xrdownloader
xr = xrdownloader.XRDownloader()
response = xr.download("https://xploitsr.tk/assets/csxp_img/logo/icon.png")
print(response)
multiple file download
import xrdownloader
xr = xrdownloader.XRDownloader()
response = xr.download(["https://www.somesite.co/file-1.pdf","https://www.somesite.co/file-2.pdf"])
print(response)
file that contains links of files to download
import xrdownloader
xr = xrdownloader.XRDownloader()
response = xr.download("xploitsr-links.txt")
print(response)
All links you typed since day one of using xrdownloader is saved in a file named: allXlinks.txt in every directory you used xrdownloader module
Screenshot:
Metadata
Release files for xrdownloader 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xrdownloader-1.0.6.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xrdownloader-1.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / xrdownloader-1.0.6.tar.gz
| Download URL | xrdownloader-1.0.6.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be99f091dbd6e9b57b8fd323ec69d3f9fe13205d0e483cbb952af8f0c732a272
|
|
BLAKE2b-256 checksum How to use checksums |
3e1c7f037e6034a34427a1a11b82bc9f4376df3ca3f03a414499bc5e4cac0908
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Release files / xrdownloader-1.0.6-py2.py3-none-any.whl
| Download URL | xrdownloader-1.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5283e1873e24ee5255910c216b046518c21ac64ca5b536536f0ae032f28b4bc0
|
|
BLAKE2b-256 checksum How to use checksums |
87a9d16f636a959b5b9f68c1871099b919e8532b7e2233c16e1c7bd625fc735f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|