07-23-2023, 01:03 AM
I am using the script from [youtube-upload][1] to upload videos to my channel via the command line.<br> **How can I run the code to process all files in a specific folder(s)?**<br>
Once I saw an example on the net, showing how to batch upload videos to youtube using this same script, and also getting the titles, categories, description and tags from a csv excel file, each from a column corresponding to the file name in another column. I forgot to save this example and now I can't seem to find this or create it on my own.<br><br>
by the way, I am on windows 10 environment, using the command line tool.
<br>
to upload single video, I am using this script;
youtube-upload \
--title="A.S. Mutter"
--description="A.S. Mutter plays Beethoven" \
--category=Music \
--tags="mutter, beethoven" \
--recording-date="2011-03-10T15:32:17.0Z" \
--default-language="en" \
--default-audio-language="en" \
--client-secrets=client_secrets.json \
--credentials-file=client_secrets.json \
test.mp4
update
----
the csv file will have the same number of columns as I will have parameters in the youtube-upload command. Let's say, there will be title, description, category, tags columns only, and of course the first column will be the file name, if needed, I will also add the location of the file.
[1]:
Once I saw an example on the net, showing how to batch upload videos to youtube using this same script, and also getting the titles, categories, description and tags from a csv excel file, each from a column corresponding to the file name in another column. I forgot to save this example and now I can't seem to find this or create it on my own.<br><br>
by the way, I am on windows 10 environment, using the command line tool.
<br>
to upload single video, I am using this script;
youtube-upload \
--title="A.S. Mutter"
--description="A.S. Mutter plays Beethoven" \
--category=Music \
--tags="mutter, beethoven" \
--recording-date="2011-03-10T15:32:17.0Z" \
--default-language="en" \
--default-audio-language="en" \
--client-secrets=client_secrets.json \
--credentials-file=client_secrets.json \
test.mp4
update
----
the csv file will have the same number of columns as I will have parameters in the youtube-upload command. Let's say, there will be title, description, category, tags columns only, and of course the first column will be the file name, if needed, I will also add the location of the file.
[1]:
[To see links please register here]