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

Channel Name in -o #1914

Closed
sirinath opened this issue Dec 7, 2013 · 4 comments
Closed

Channel Name in -o #1914

sirinath opened this issue Dec 7, 2013 · 4 comments

Comments

@sirinath
Copy link

@sirinath sirinath commented Dec 7, 2013

Is it possible add the channel name using -o

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 7, 2013

By channel, do you mean the youtube channel?

@sirinath
Copy link
Author

@sirinath sirinath commented Dec 7, 2013

Yes youtube channel what I am particularly interested in.

@phihag
Copy link
Contributor

@phihag phihag commented Dec 8, 2013

Simply use the %(playlist)s format if you want to express where the video was included, or %(uploader)s / %(uploader_id)s to express who uploaded the video:

$ youtube-dl http://www.youtube.com/user/phihag -o '%(playlist)s - %(uploader_id)s - %(uploader)s - %(id)s.%(ext)s' --get-filename
phihag - phihag - Philipp Hagemeister - g5Ph4jOTBbo.mp4
phihag - phihag - Philipp Hagemeister - hHEqzSb4mjY.mp4
phihag - phihag - Philipp Hagemeister - Ow3llEjwjGg.mp4
phihag - phihag - Philipp Hagemeister - Hj_K48t8MiI.mp4
phihag - phihag - Philipp Hagemeister - W_EI4qYYr2U.mp4
phihag - phihag - Philipp Hagemeister - i_iMkXa5LoM.mp4
phihag - phihag - Philipp Hagemeister - 0eCG4iAA0Pw.mp4
phihag - phihag - Philipp Hagemeister - Rn1q_ToFNbA.mp4
phihag - phihag - Philipp Hagemeister - hB_yK-owAVA.mp4
phihag - phihag - Philipp Hagemeister - BaW_jenozKc.mp4
@phihag phihag closed this Dec 8, 2013
@lihuelworks
Copy link

@lihuelworks lihuelworks commented Jan 3, 2020

I'm trying to used this on a text file with the format "title - channel", is it possible to do something like that in the file's text, and not the name?

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
4 participants
You can’t perform that action at this time.