algorithmically-enhanced yt-dlp (youtube-dl) wrapper for audio-downloads
https://dym.sh/y/
Dym Sohin cd6ce2d4ff | ||
---|---|---|
LICENSE | ||
install.sh | ||
meta.kdl | ||
readme.md | ||
y.sh |
readme.md
y
algorithmically-enhanced yt-dlp (youtube-dl) wrapper for audio-downloads
install
- look at
install.sh
file for instructions - adjust
PREFIX
at wish - make sure the final directory is on
$PATH
use
y https://orax.bandcamp.com/track/ectoplasmic
(adjust config.sh file to set your prefered download paths)
requirments
yt-dlp
– the main thingffmpeg
– to convert files of diffrent formatssd
– a bettersed
lynx
– to easily scrap web-pages
site-specific improvements
bandcamp
- prefers mp3-320 (checks every track)
- downloads entire discography if given root-domain or
/music
url
file-name is now twitter-username and tweet-id (instead of full text of a tweet, which can result in strings over 255 characters long, aborting the entire process)
file-name is now subreddit, post-id, and url-slug (instead of full text of a title, which can result in strings over 255 characters long, aborting the entire process)
youtube
allows to set several predetermined filesystem-paths to keep file-categories separately:
y m <youtube_URL>
– music (automatically chosen formusic.youtube.com
)y a <youtube_URL>
– audiobooks
soundcloud
- occasional wav-files are converted to mp3 320kb/s
- artist is set based on url (instead of having none by default)
- file-name is now username, video id, and nubmer of the video if there are multiple (instead of "Video by username", which refuses to download multiple videos from different id's: "Video by username.mp4 has already been downloaded")
- TODO: explose playlist's
%(uploader_id)s
,nr_current
,nr_total
to the naming api