Skip to content

XploitsR | XRDownloader is a module for faster downloading of files.

License

Notifications You must be signed in to change notification settings

XploitsR/XRDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XRDownloader

PyPI-Versions PyPI-Status PyPI-Downloads

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

GitHub-Status GitHub-Stars GitHub-Commits GitHub-Forks GitHub-Updated

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:

screenshot of xrdownloader