Python scripts to automatize tasks in Youtube Studio.
- Set up your Google API client ID using this guide
- Go to the Google API Console and download the client ID in
*.json
format. - Save the file in the
private\client1
folder and rename it asclient_secrets.json
. - Open
main.py
, setcreate_new_connection = 1
and run the file. - Sign in to Google and give permission to the app to manage your videos.
- Copy the token and paste it in the terminal to save your credentials.
- Set
create_new_connection = 0
inmain.py
.
If you need more clients (e.g. because you run out of your quota):
- Create a new project in the API Console.
- Create a new folder:
private\client2
. - Set
client_id = 2
inmain.py
. - Add a new client ID in the API Console and repeat the above steps for client 2.