Created
December 16, 2017 09:16
-
-
Save sarim/d04af22f9bbc0b94a26a00cfaa531d8a to your computer and use it in GitHub Desktop.
supercharge your youtube-dl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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