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

GetUserFeed request stopped working #45

Closed
qtlin opened this issue Feb 23, 2020 · 34 comments
Closed

GetUserFeed request stopped working #45

qtlin opened this issue Feb 23, 2020 · 34 comments

Comments

@qtlin
Copy link

qtlin commented Feb 23, 2020

Running latest, v2.8
Several days ago accessing URL FeedService/GetUserFeed?userId=.... stopped working, returns an HTTP error 400 with message:

The server encountered an error processing the request. See server logs for more details.

At the same time URL FeedService/Video.mp4?videoId=... etc. works fine.

Is it only for me or another YouTube change? There is new YoutubeExplode release and the change seems channel list related, although seems minor.

@qtlin qtlin changed the title Request Error again GetUserFeed request stopped working Feb 23, 2020
@i3arnon
Copy link
Owner

i3arnon commented Feb 23, 2020

YouTube revoked the application key.
I generated a new one and released a new version:
https://github.com/i3arnon/YouCast/releases/tag/2.9.0

See if this works for you and let me know otherwise.

@oolyum
Copy link

oolyum commented Feb 23, 2020

This seems to working. Thanks.

@i3arnon
Copy link
Owner

i3arnon commented Feb 23, 2020

@oolyum thank you.

@i3arnon i3arnon closed this as completed Feb 23, 2020
@i3arnon i3arnon pinned this issue Feb 23, 2020
@dirkschut
Copy link
Contributor

I'm running 2.9 and it worked yesterday, but it's once again giving the request error. The video page still works but the feeds not @i3arnon

@i3arnon i3arnon reopened this Feb 24, 2020
@i3arnon
Copy link
Owner

i3arnon commented Feb 24, 2020

@mrDLSable The quota for the new API key (10K requests per day) is being reached daily.
Since I assume this isn't from "real" usage I regenerated the key (without pushing it to GitHub this time :)):
https://github.com/i3arnon/YouCast/releases/tag/2.10.0

The quota will be reset tomorrow.
If it will max out again I'll maybe try adding some caching, but it's just a band-aid.

@dirkschut
Copy link
Contributor

@i3arnon Is it possible to get the app to load the API key from the config file? That way people with the know how could use their own key.

@qtlin
Copy link
Author

qtlin commented Feb 24, 2020

@i3arnon I was about to ask the same question but @mrDLSable was minutes ahead of me.
Please allow user optionally loading their own key and add instructions getting one from Google. Thank you.

@jparkerweb
Copy link
Contributor

jparkerweb commented Feb 24, 2020

for now I was able to generate my own YouTube Data API v3 and build from source with my own key. seems to work great.....

example of my api key management screen in google:
image

here is where you update the API key in source code before building:
image

@i3arnon
Copy link
Owner

i3arnon commented Feb 24, 2020

@mrDLSable Sure: #46

@qtlin
Copy link
Author

qtlin commented Feb 24, 2020

@jparkerweb thanks for the suggestion to create a key and rebuild from source. It does indeed work but user needs to enable YouTube Data API v3. It took me some time to realize it but it all works now.

@superfutzi
Copy link

For a noob like me, how can I set it up in the program code. I got an APi but I don`t know how the create an exe.

@maxol18
Copy link

maxol18 commented Mar 1, 2020

Hi,

On my side is version v2.10 not working.

Is it working on your side ?

@dirkschut
Copy link
Contributor

dirkschut commented Mar 1, 2020

I have done some playing around with my own API key and have found out that for me a normal refresh with Podcast Addict generates over 4k requests. Do keep in mind that I have about 100 youtube channels in my podcast library and about 40 new videos to download.

Edit: Oh, and I added another youtube channel to my Podcast Addits with 2k videos, so if it did 2 requests per video that might explain it... Doing some more testing.

@maxol18
Copy link

maxol18 commented Mar 1, 2020

For a noob like me, how can I set it up in the program code. I got an APi but I don`t know how the create an exe.

Hi,

I dont also know how to compile in .exe

@dirkschut
Copy link
Contributor

@maxol18 @superfutzi I have written the code needed for the user to input their API key in the program, and once @i3arnon has some time to look at it, I presume the functionality will be added. It should be done in a couple of days I hope.

@i3arnon
Copy link
Owner

i3arnon commented Mar 19, 2020

#47 is now merged and a new release is published,
Thank you @mrDLSable and sorry for the wait.. I was in Iceland.

@qtlin
Copy link
Author

qtlin commented May 15, 2020

@i3arnon the same exact problem resurfaced again, youcast apparently requires latest YoutubeExplode update to function correctly. However YoutubeExplode 5.x is not a direct replacement for 4.x. Please take a look when you have a chance.

@i3arnon
Copy link
Owner

i3arnon commented May 16, 2020

@qtlin I incorporated YoutubeExplode's latest version and published a new release
Hope this helps..

@dirkschut
Copy link
Contributor

I'm still getting the error 400 with some channels...

@i3arnon
Copy link
Owner

i3arnon commented May 16, 2020

@mrDLSable Give me some examples and I'll try to debug..

@dirkschut
Copy link
Contributor

vsauce works (channelID: vsauce)
half as interesting doesn't work (channelID: UCuCkxoKLYO_EQ2GeFtbM_bw)

@dirkschut
Copy link
Contributor

A couple more that don't work:
UCVQCQJyZQcIioTDQ4SACvZQ
UC0e3QhIYukixgh5VVpKHH9Q
UCrv269YwJzuZL3dH5PCgxUw
UC6SNxiLzSlh8e0yjndE9o_A
UCaPRCWnFAzeI3_tr--Qw5qg
UCzV9N7eGedBchEQjQhPapyQ

@i3arnon
Copy link
Owner

i3arnon commented May 16, 2020

@mrDLSable There was an issue with channel ids (as opposed to usernames). The updated release should work

@dirkschut
Copy link
Contributor

2.13 or still 2.12?

@i3arnon
Copy link
Owner

i3arnon commented May 16, 2020

@mrDLSable still 2.12 :)

@dirkschut
Copy link
Contributor

Works for me now :) Thanks for the quick fix

@dirkschut
Copy link
Contributor

actually now channels with a name don't work

@dirkschut
Copy link
Contributor

example: crashcourse

@i3arnon
Copy link
Owner

i3arnon commented May 16, 2020

@mrDLSable fixed and updated.

@dirkschut
Copy link
Contributor

Testing it now. Looks like it's working. Thanks again for the quick update. Love the app.

@qtlin
Copy link
Author

qtlin commented May 16, 2020

@i3arnon Thank you! 2.12 so far works for me.
Question: should anyone worry about new commits one two since release 2.12 and build own from master or 2.12 is good as is?

@dirkschut
Copy link
Contributor

@qtlin v2.12 includes those two commits. I don't know how it works but I think @i3arnon can upload a new version of the files to an existing release

@maxol18
Copy link

maxol18 commented May 17, 2020

Hi,

Is the last version 2.12 working on you side ?

@qtlin
Copy link
Author

qtlin commented Aug 18, 2021

Is the last version 2.12 working on you side ?

Even 2.18 works fine for me

@qtlin qtlin closed this as completed Aug 18, 2021
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

7 participants