diff --git a/src/providers/pornhub.rs b/src/providers/pornhub.rs index f8429aa..8860a35 100644 --- a/src/providers/pornhub.rs +++ b/src/providers/pornhub.rs @@ -926,8 +926,8 @@ impl PornhubThumbPolicy { return false; } let Some(host) = url.host_str() else { return false; }; - // Allow official Pornhub hosts and their CDN hosts - host.contains("phncdn") || host.ends_with("pornhub.com") + // Only allow the specific Pornhub CDN host used for thumbnails + host.eq_ignore_ascii_case("pix-cdn77.phncdn.com") } }