add high res thumbnail
This commit is contained in:
		@@ -381,6 +381,8 @@ class MainHandler(tornado.web.RequestHandler):
 | 
			
		||||
        meta = await handler.meta()
 | 
			
		||||
        image = meta.get("og:image")
 | 
			
		||||
        if isinstance(image, str):
 | 
			
		||||
            if handler.provider == "youtube":
 | 
			
		||||
                image = image.removesuffix("hqdefault.jpg") + "maxresdefault.jpg"
 | 
			
		||||
            url = await handler.proxy.proxy_url(image, None)
 | 
			
		||||
            if isinstance(url, str):
 | 
			
		||||
                self.redirect(url, status=303)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user