Manages download requests for data sharer and download files without hassle.
Usage: dmanage.py [options]
Options:
-h, --help show this help message and exit
-s, --start Start server
-m, --manage Manage servers
-c, --configure Make configuration file
-S, --show Show All DC Request
-q, --queue Download queue
-x, --stop Stop Server
-u, --usermanage User Management
Add Links directly:
-a LINK, --link=LINK
Links
-n NAME, --name=NAME
Name of the links group
Add Links by DC request id shown by dmanage.py -S command:
-i SSID, --ssid=SSID
Add download links by ids
Deleting downloads by ID. View queue by running dmanage.py -q:
-f FID, --fid=FID Delete download links by queue file ids
-p PID, --pid=PID Delete download links by queue package ids
- Clone the repo
git clone https://github.com/thispc/download-manager.git
- Change directory to the repo
cd download-manager
- Run the following command to create a config file (Initial Step)
python dmanage.py -c
-
Follow all the steps and create a configuration file
-
Start the download server
python dmanage.py -s
- Start the downloads. There are two ways to do it
(1) Show all the DC requests
python dmanage.py -S
python dmanage.py -i <id no of the request>
eg:
python dmanage.py -i 1
(2) Add a link manually along with the nick of the user who requested the download
python dmanage.py -a <link> -n <username_of_requested_person>
ex:
python dmanage.py -a http://speedtest.atlanta.linode.com/100MB-atlanta.bin -n user1
- Manage the downloads
python dmanage.py -m
- See the queue
python dmanage.py -q
- Stop the server
python dmanage.py -x