Fix tube8 ids and Referer-gated Aylo thumbnails
Sponsored channel cards carry a stale data-video-id that 404s; use the card link target. The signed pix-cdn77 thumbnail hosts 403 without a Referer, so route them (tube8, ph-shorties) through a new host-restricted aylo-thumb proxy. Also correct the pornhub-thumb route that sat under a doubled /proxy prefix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MUYdCh2nCVsQYgJAT7gwSi
This commit is contained in:
@@ -149,7 +149,12 @@ pub fn config(cfg: &mut web::ServiceConfig) {
|
||||
.route(web::get().to(crate::proxies::hotbunnythumb::get_image)),
|
||||
);
|
||||
cfg.service(
|
||||
web::resource("/proxy/pornhub-thumb/{endpoint}*")
|
||||
web::resource("/aylo-thumb/{endpoint}*")
|
||||
.route(web::post().to(crate::proxies::aylothumb::get_image))
|
||||
.route(web::get().to(crate::proxies::aylothumb::get_image)),
|
||||
);
|
||||
cfg.service(
|
||||
web::resource("/pornhub-thumb/{endpoint}*")
|
||||
.route(web::post().to(crate::proxies::pornhubthumb::get_image))
|
||||
.route(web::get().to(crate::proxies::pornhubthumb::get_image)),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user