Skip to content

dev7060/MAMJ-Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MAMJ-Downloader

Feed multiple links at once via arguments or through files containing the links. Downloads are done with FCFS priority.

Usage

General format

mamj -u [links separated by space] -f [filenames separated by space]

where u stands for URL/s and f for file/s.

For example

Multiple links + Multiple files

mamj -u https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso https://archive.org/download/ElephantsDream/ed_hd_512kb.mp4 -f file1.txt file2.txt

Single link

mamj -u https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso

Single file

mamj -f file1.txt

Multiple links

mamj -u https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso https://archive.org/download/ElephantsDream/ed_hd_512kb.mp4

Multiple files

mamj -f file1.txt file2.txt

Multiple files + Multiple links (change in the order of arguments)

mamj -f file1.txt file2.txt -u https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso https://archive.org/download/ElephantsDream/ed_hd_512kb.mp4 

Single file + Single link

mamj -f file1.txt -u https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso

Text file format

 Link1[newline]
 Link2[newline]
 ...
 ...
 [eof]

Like this or below:

https://download.kiwix.org/zim/wikipedia/wikipedia_ab_all_maxi_2020-04.zim
https://download.kiwix.org/zim/wikibooks/wikibooks_af_all_maxi_2020-05.zim
https://download.kiwix.org/zim/ted/ted_en_business_2016-06.zim
https://download.kiwix.org/zim/gutenberg/gutenberg_ale_all_2018-07.zim