n-ce / ytify

Opus Audio Streaming Web App for YouTube. Stop watching, Listen & Save Data.
https://ytify.netlify.app
GNU General Public License v3.0
131 stars 47 forks source link

Search results not appearing / CloudFlare Proxy IP Block #155

Closed OrdinaryEnder closed 6 months ago

OrdinaryEnder commented 8 months ago

So I had this bug while using the ytify

Pic from netlify prod: Screenshot_20231114_185457

Pic from My Production (Vercel): Screenshot_20231114_185550

What happened?

n-ce commented 8 months ago

Can be a thumbnail issue, try turning off thumbnail and search again Also check if this loads : https://corsproxy.io/?https%3A%2F%2Fi.ytimg.com%2Fvi_webp%2FsVx1mJDeUjY%2Fmqdefault.webp

OrdinaryEnder commented 7 months ago

Can be a thumbnail issue, try turning off thumbnail and search again Also check if this loads : https://corsproxy.io/?https%3A%2F%2Fi.ytimg.com%2Fvi_webp%2FsVx1mJDeUjY%2Fmqdefault.webp

Got Cloudflare blocked :(

OrdinaryEnder commented 7 months ago

In Player, thumbnail does work somehow?

n-ce commented 7 months ago

In Player, thumbnail does work somehow?

Player (6.4) is using thumbnails directly from piped that's why. I removed support for piped thumbnails from other places due to

  1. Only large resolution available which takes more time to load
  2. Erratic as in sometimes they work sometimes they don't

To get around the cloudflare block I will try to switch the current image proxy with a piped image proxy, if it works it will be included in the next release.

n-ce commented 7 months ago

I have now solved the issue, you can use it at https://deploy-preview-154--ytify.netlify.app/ To run it on your own server, you have to deploy the 6.5 branch

n-ce commented 7 months ago

Piped has blocked access of their image proxy soon after this was implemented, therefore thumbnail requests are failing in the latest build for some time now. Would have to look for another workaround.

n-ce commented 7 months ago

@OrdinaryEnder it seems the latest piped update has re-enabled custom thumbnail generation from their proxy. I have updated to one of the instance using the latest version. Can you please test if it works for you now?