tokland / youtube-upload

Upload videos to Youtube from the command line
2.06k stars 464 forks source link

Request to Update Readme (Or accept existing PR to do so) #359

Open AkitaAttribute opened 1 year ago

AkitaAttribute commented 1 year ago

Hope all is well. There have been changes to setting up the credentials for the YouTube API, and I'm hoping someone can update the README file. I see there is already a PR with decent changes regarding this, so I won't go through duplicating the work. If that could be updated, it would save people like me a lot of time :)

Related articles: Stack Exchange discussing the changes, and what they are now

shawnp0wers commented 1 year ago

From what I can tell, it's a moot point. Unless you get your app "verified", any uploaded videos are locked as private. It doesn't look like getting an app verified is a straightforward process.

I'd love to be incorrect here, but I think google made the YouTube API basically unsusable. :/

AkitaAttribute commented 1 year ago

@shawnp0wers I literally just uploaded one???

https://youtu.be/dhLYmLNy4Yc

AkitaAttribute commented 1 year ago

image

shawnp0wers commented 1 year ago

So, do you have a verified API then?

I've been talking to the youtube team for hours, and unless I can verify my API, all my uploads will be automatically locked...

AkitaAttribute commented 1 year ago

Wanna hop on a quick discord call? I can walk you through it. It's actually not too hard with the right steps.

shawnp0wers commented 1 year ago

You mean to get verified? Or have you done something else?

(I can't hop on discord right now, i'm sitting in bed with my laptop next to my wife, who would murder me if I started talking to someone at 11PM, lol)

AkitaAttribute commented 1 year ago

I am not verified as far as I know. Nor is my app (youtube-upload). Is it complaining that you're not a verified user? On your consent screen you can define "test users" to bypass being verified with that.

shawnp0wers commented 1 year ago

Screenshot at 2023-02-20 21-25-14

This happens when I upload a video. The process works fine after I set up the API/app -- but my videos immediately get locked.

AkitaAttribute commented 1 year ago

Is it a video you can send me? Maybe it's the video contents?

AkitaAttribute commented 1 year ago

I can try uploading to test.

AkitaAttribute commented 1 year ago

What are you setting the oauth type to? I had to change mine to "Desktop App" instead of "Web App".

shawnp0wers commented 1 year ago

https://twitter.com/TeamYouTube/status/1627859081019985921

There's my thread with youtube.

Here's a copy of an actual video that gets locked: https://home.brainofshawn.com/uploads/testvid.mp4

shawnp0wers commented 1 year ago

Oh... hmm... mine is set to web app, I can try to change it.

AkitaAttribute commented 1 year ago

(I just deleted it, as I don't want to steal the works of others btw, for anyone in the future). https://youtu.be/jPeH8X3EFGs

Yeah, it worked for me.

AkitaAttribute commented 1 year ago

Just a couple things image

AkitaAttribute commented 1 year ago

image

AkitaAttribute commented 1 year ago

But this is exactly why we need an updated readme lol

shawnp0wers commented 1 year ago

I created a desktop app, and used that (had to manually do the callback thing, but then it uploaded) -- but it was immediately locked private again.

I have no idea why yours is working, lol

AkitaAttribute commented 1 year ago

Did you download the new JSON client_secrets and generate new .youtube-upload-credentials.json?

AkitaAttribute commented 1 year ago

If you can't figure it out, I can make some time tomorrow to look at it with you.

This is my discord server: https://discord.gg/CRPJN7r5

Just shoot a message there when you have some time.

shawnp0wers commented 1 year ago

Thank you. :)

AkitaAttribute commented 1 year ago

More issues lol. So apparently if you do what I did, and make a test user, it's only valid for 7 days.

This issue addresses that problem: https://github.com/tokland/youtube-upload/issues/352

Wooo Google making things hard.

supervision commented 5 months ago

Did you download the new JSON client_secrets and generate new .youtube-upload-credentials.json?

How do I generate a new .youtube-upload-credentials.json @AkitaAttribute?