• Stars
    star
    200
  • Rank 189,363 (Top 4 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bash script for download files from mega.nz and megacrypter

megadown

Bash script for download files from MEGA.NZ and MegaCrypter.

Features:

  • /#!, /#N!, mega://enc?, mega://enc2 and ANY megacrypter clon link supported.
  • Resume previous downloads.
  • Download files from list.
  • Speed limit.
  • MC password protected links supported.

Required dependencies:

  • Bash >= 3
  • OpenSSL (with support for AES 128 CTR and AES 128/256 CBC).
  • wget/curl (curl is preferred if it's present).
  • pv (monitor the progress of data).
  • jq (JSON parser).

Optional dependencies:

  • python >= 2.7.8 (PBKDF2 -> MegaCrypter password protected links).

Usage:

Single url mode:            megadown [OPTION]... 'URL'

	Options explanation:
	-o,	--output FILE_NAME    Store file with this name.
	-s,	--speed SPEED         Download speed limit (500b, 500k, 2m).
	-p,	--password PASSWORD   Password for MegaCrypter links.
	-q,     --quiet               Quiet mode.
        -m,     --metadata            Prints file metadata in JSON format and exits.


Multi url mode:             megadown [OPTION]... -l|--list FILE

	Options explanation:
	-s,     --speed SPEED         Download speed limit (integer values: 500B, 500K, 2M).
        -p,     --password PASSWORD   Password for MegaCrypter links (same for every link in a list).
        -q,     --quiet               Quiet mode.
        -m,     --metadata            Prints file metadata in JSON format and exits.
        
	File line format:             URL [optional_file_name]