Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For ripping from multiple channels + bandwidth limiting #241

Closed
ghost opened this issue Dec 3, 2011 · 1 comment
Closed

For ripping from multiple channels + bandwidth limiting #241

ghost opened this issue Dec 3, 2011 · 1 comment

Comments

@ghost
Copy link

@ghost ghost commented Dec 3, 2011

For downloading from multiple channels I made a little script. You have to manually create folders but other than that, it seems to work quite well. For additional functionality we could add support for limiting the bandwidth the script is using with trickle or similar.

#/bin/bash
#Set base folder fow downloads
yts='/home/user/youtube-dl/'
#In the base folder create folders named the same as youtube channels you want to rip
for f in $yts/*/; do echo "Processing $f"
cd $f
#Strip youtube channel name from file path
user=$(basename $f)
#Youtube-dl options
youtube-dl -w -i -t --extract-audio "http://www.youtube.com/user/$user"
done
#For more automation add script to cron
@ghost ghost closed this Dec 3, 2011
@ghost ghost reopened this Dec 3, 2011
@phihag
Copy link
Contributor

@phihag phihag commented Dec 8, 2011

Great script! I actually use something like this as well.

Since everybody's preferences on where and what to store varies, I don't think youtube-dl can incorporate it.

@phihag phihag closed this Dec 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.