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:
@@ -489,15 +489,6 @@ impl CoomerProvider {
|
||||
}
|
||||
}
|
||||
|
||||
fn target_label(target: &Target) -> &'static str {
|
||||
match target {
|
||||
Target::Latest => "latest",
|
||||
Target::Popular => "popular",
|
||||
Target::Search { .. } => "search",
|
||||
Target::Uploader { .. } => "uploader",
|
||||
}
|
||||
}
|
||||
|
||||
fn percent_encode(value: &str) -> String {
|
||||
let mut out = String::with_capacity(value.len());
|
||||
for byte in value.as_bytes() {
|
||||
|
||||
Reference in New Issue
Block a user