Skip to content

Very simple cli toolkit for dnbshare.com written in bash.

License

Notifications You must be signed in to change notification settings

Czechball/dnbshare-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dnbshare-cli

A set of simple scripts for downloading files from dnbshare.com.

Dependencies:

  • curl

Usage:

dnbshare-download.sh

Downloads uploaded file directly from a single dnbshare.com url

./dnbshare-download.sh <url> (-d directory)

Options:

  • -d - directory to download to, optional - will be created if doesn't exist
  • -h - show help

Examples:

./dnbshare-download.sh https://dnbshare.com/download/Phadix_Neil_Badboy_-_Believe_final.mp3.html
  • download mp3 file from given url
./dnbshare-download.sh -d ~/Music https://dnbshare.com/download/Phadix_Neil_Badboy_-_Believe_final.mp3.html
  • download mp3 file from given url in ~/Music will be created if doesn't exist

get-dnblist.sh

Downloads all files from a dnbshare.com query. Files will be saved in a directory named after the query and current date (for example Latest-2020-12-07/)

./get-dnblist.sh <-s (string) / -l / -t / -p / -o / -h>

Options:

  • -s (string) - search dnbshare.com for string and download results
  • -l - download all files from the Latest page
  • -t - download all files from the Trending page
  • -p - download all files from the Popular page
  • -o - download all files from the Top page
  • -h - show help

Examples:

./get-dnblist.sh -p
  • download all files from the Popular page and save them into ./Latest-YYYY-MM-DD/
./get-dnblist.sh -s Shadow
  • search for "Shadow" and download all results into ./Search-Shadow.YYYY-MM-DD/

About

Very simple cli toolkit for dnbshare.com written in bash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages