flaviotordini / minitube

YouTube app
https://flavio.tordini.org/minitube
GNU General Public License v3.0
367 stars 73 forks source link

minitube-2.7 search on channel/keyword gives blackscreen #81

Open juanitotc opened 7 years ago

juanitotc commented 7 years ago

I had previously compiled minitube-2.5 and had it working without problems.

I've just compiled minitube-2.7, but when searching on channel/keyword I get a black screen and:

https://www.googleapis.com/youtube/v3/search?&part=snippet&type=video&maxResults=50&q=test&safeSearch=strict 0

If I enter this into a browser (minus the trailing zero), I get the text pasted below.

I hardly ever use minitube - what causes this error?

{ "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." } }

flaviotordini commented 7 years ago

Did set up an API key? Check the README

juanitotc commented 7 years ago

Yes I did set up an API key - I compiled with "make V=1" so I could see it repeated endlessly.

Just in case, I also started minitube with GOOGLE_API_KEY="blah-blah" minitube

flaviotordini commented 7 years ago

Did you enable the YouTube Data API in Google dev console?

Try the API request in your browser, adding the "key" parameter.

juanitotc commented 7 years ago

When I add the key parameter in a browser, things seem to work;

kind "youtube#searchListResponse" etag "\"m2yskBQFythfE4irbTIeOgYYfBU/Dus9GWOM8oNUvwaYsrv8tzpDPWo\"" nextPageToken "CDIQAA" regionCode "FR" pageInfo
totalResults 1000000 resultsPerPage 50 items [50]

flaviotordini commented 7 years ago

When running from command line do you get any error message?

juanitotc commented 7 years ago

No, nothing at all :(

Are there some debug codes I can pass?

Zauberfisch commented 5 years ago

Did anyone figure this out?

My google dashboard now shows that my quata limit is 0/requests per day, and when I want to change it I get:

Enter a number between 0 and 0. To increase this maximum, apply for higher quota (https://support.google.com/youtube/contact/yt_api_form?hl=en_GB).

Is there some know way to get this quata extended without having to apply for it?