Ahwxorg / LibreY

Framework and JS free privacy respecting meta search engine
GNU Affero General Public License v3.0
197 stars 26 forks source link

Video thumbnails are sometimes broken #170

Closed codedipper closed 2 weeks ago

codedipper commented 4 months ago

Example:

https://search.ahwx.org/search.php?q=Italy+losing+the+Euro+Cup+2024&p=0&t=2&nf=1 image

Reproduce:

  1. Apply #169 patch or disable frontends.
  2. Make a video search; repeat until you see a result with a missing thumbnail.

Solution: Sometimes /maxresdefault.jpg doesn't return a real thumbnail. A fix is to switch it to /mqdefault.jpg or /default.jpg on line 53 of engines/invidious/video.php, although the resulting thumbnail will be at a lower quality.

Ahwxorg commented 2 weeks ago

Fixed in local branch, will be pushed soon.