Skip to content

Instantly share code, notes, and snippets.

@sarim
Created December 16, 2017 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarim/d04af22f9bbc0b94a26a00cfaa531d8a to your computer and use it in GitHub Desktop.
Save sarim/d04af22f9bbc0b94a26a00cfaa531d8a to your computer and use it in GitHub Desktop.
supercharge your youtube-dl
yt-dl() {
youtube-dl --external-downloader=aria2c --external-downloader-args="--download-result=hide" $@
}
yt-dl-q() {
cat $1 | xargs -I {} bash -l -c "yt-dl {};"
}
1080p() {
yt-dl -f 137+140 $1
}
720p() {
yt-dl -f 22 $1
}
480p() {
yt-dl -f 135+140 $1
}
min-split-size=1M
max-connection-per-server=8
split=8
file-allocation=none
max-tries=50
retry-wait=30
continue
seed-time=0
allow-piece-length-change=true
summary-interval=0
disable-ipv6=true
console-log-level=warn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment