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

any way to upload a video with a multi-line description #374

Open
robertJene opened this issue Jan 15, 2024 · 1 comment
Open

any way to upload a video with a multi-line description #374

robertJene opened this issue Jan 15, 2024 · 1 comment

Comments

@robertJene
Copy link

I want to upload videos with multi-line descriptions.

Say, for example, I have the description saved in a text box.

Then I run a script that spits out a command in a batch file.

I want all the lines of the description to upload, not just the first line

Example:
youtube-upload ^
--title="intro description test" ^
--description="multi line description" ^
--category="Music" ^
--tags="mutter, beethoven" ^
--default-language="en" ^
--default-audio-language="en" ^
--client-secrets="my_client_secrets.json" ^
--credentials-file="my_credentials.json" ^
--playlist="My favorite music" ^
"look of disapproval INTRO.mp4"

@p0i5k
Copy link

p0i5k commented Mar 4, 2024

Try this:

description=`cat <<_EOF_
line 1
line 2
line 3
_EOF_
`
...
youtube-upload \
--title="intro description test" \
--description="$description" \
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants