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

Add support for setting output path per llink in batchfile (-a option) #22044

Closed
DerBunteBall opened this issue Aug 8, 2019 · 0 comments
Closed

Comments

@DerBunteBall
Copy link

@DerBunteBall DerBunteBall commented Aug 8, 2019

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2019.08.02
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Hey all,

I would like to see a feature which makes it possible to set the output path for a certain link in a batchfile.

Actually it's like this:

We have a link file like mylinks.txt this looks like this:

https://youtube.com/mywantedvideo
https://youtube.com/mysecondwantedvideo
...... and so on

If you do this:

cd /home/myuser/downloads
youtube-dl -a mylinks.txt

youtube-dl will download everything to /home/myuser/downloads/

If you add e.g. the -o option you can set an output path and if you want a template for file names.

Exactly this I would like to have in the batchfile e.g. in CSV format like this:

https://youtube.com/myfirstlink:/home/myuser/download1/[wantedtemplatehereelsetakefilenameisvdieoname]
https://youtube.com/mysecondlink:/home/myuser/download2/[templatehere]

A real usecase is something like playlist sorting. E.g. if the link is a playlist link you can set a folder for a ceratin playlist. As far as I can see this would be need e.g. bash scripting work to realize this. Something like a loop with links and output paths would work but this is a bit complicated in daily work.

I think a feature like the described one would help to make this easier and more intuitive to the user. When I'm right it would be enough to parse the batchfile as CSV with the already existing commenting functionality.

If I oversaw something and this feature already exists it's my bad.

Would be nice to see this feature in a future release.

Best Regards

P.S. Sorry for my bad english

@DerBunteBall DerBunteBall added the request label Aug 8, 2019
@dstftw dstftw closed this Aug 9, 2019
@dstftw dstftw added the duplicate label Aug 9, 2019
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
2 participants
You can’t perform that action at this time.