Explorar el Código

use mqdefault cause the other endpoint cucks me with blurry thumbnails

lolcat hace 2 semanas
padre
commit
0cc5a85399
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      scraper/yt.php

+ 1 - 5
scraper/yt.php

@@ -666,11 +666,7 @@ class yt{
 					) : null,
 				"thumb" => [
 					"ratio" => "16:9",
-					"url" =>
-						$video["thumbnail"]
-						["thumbnails"]
-						[0]
-						["url"]
+					"url" => "https://i.ytimg.com/vi/" . $video["videoId"] . "/mqdefault.jpg"
 				],
 				"url" => "https://www.youtube.com/watch?v=" . $video["videoId"]
 			];