alexlaverty / python-reddit-youtube-bot

Automated Reddit Youtube Video Bot
https://www.youtube.com/channel/UCzIwW92D_rM5_yvWBsquSbw
83 stars 19 forks source link

"Missing either client_secrets.json or credentials file" error #41

Closed alexdo83 closed 1 year ago

alexdo83 commented 1 year ago

I've been trying to upload videos to the channel, where did I go wrong? image

image image

alexlaverty commented 1 year ago

When you ran upload for the first time did you complete the outh2 web login? once completed that should create the credentials storage file :

image

See if you can run python test_upload.py on its own to complete the oauth verification and generate the file

alexdo83 commented 1 year ago

OH, that's awesome... i'm trying it... Thank you so much

alexdo83 commented 1 year ago

Schedule video publishing, have you deployed ít? I'm really looking forward to this feature :)

alexdo83 commented 1 year ago

I'm wondering, can you add a little function...create video using reddit search keyword? image

alexlaverty commented 1 year ago

Schedule video publishing, have you deployed ít? I'm really looking forward to this feature :)

I am running the script on a schedule via Github Action workflow, see the config for it : https://github.com/alexlaverty/ttsvibelounge/blob/main/.github/workflows/tssvibelounge.yml

Apart from adding that file into your github repo, you also need to go into Settings --> Secrets --> Actions and add entries for your settings accordingly :

image

alexdo83 commented 1 year ago

Thank you, I will test it