deep-gaurav / MusicPiped

A Materialistic Music player that streams music
GNU General Public License v3.0
436 stars 59 forks source link

Response 403: failed to load post #143

Open raffaem opened 3 years ago

raffaem commented 3 years ago

I have tried a few Invidious API that works on my browser.

It took some time to discover that to change Invidious API you need to put a backslash at the end (/) and restart MusicPiped.

I somehow managed to improved the situation but the error message stays this with different Invidious API:

Fetch error cant load
Exception: Exception: Request:
https://invidious.kavin.rocks/api/v1/search?type=all&q=greenday
Response 403. Failed to load post!
raffaem commented 3 years ago

I've managed to get it to work by using the Invidious API https://vid.puffyan.us/.

In fact the link: https://vid.puffyan.us/api/v1/search?type=all&q=green works, while the same path on other Invidious API doesn't work.

For example:

https://yewtu.be/api/v1/search?type=all&q=green returns 403 Forbidden, despite the main site https://yewtu.be/feed/trending working.

https://invidious.kavin.rocks/api/v1/search?type=all&q=green also returns 1020 access denied, despite the main site https://invidious.kavin.rocks/feed/popular working.

It looks like some of these sites dropped support for the API, or are using a newer version of the API?

raffaem commented 3 years ago

Uhm https://invidious.snopyta.org/api/v1/search?type=all&q=green also gives an error in the app (403 reponse), despite the URL working in the browser of my laptop

tokenwizard commented 3 years ago

I have the same issue, getting 403 errors with every invidious instance I tried. The one mentioned above: https://vid.puffyan.us/ is the only one that seems to be working.

mmaenz commented 3 years ago

I know that invidious mirrors seem to pop up and go down from time to time. Here is a list of actually known working: https://api.invidious.io/ If you copy'n'paste don't forget the https:// in front! Use hosts without registration.