This commit is contained in:
Simon
2026-03-17 01:12:52 +00:00
parent a977381b3b
commit 9172941ac6
3 changed files with 235 additions and 62 deletions

View File

@@ -197,8 +197,7 @@ if location:
}
fn extract_iframe_fragments(html: &str) -> Vec<String> {
let Some(regex) =
Self::regex(r#"const\s+[A-Za-z0-9_]+Content\s*=\s*"((?:\\.|[^"\\])*)";"#)
let Some(regex) = Self::regex(r#"const\s+[A-Za-z0-9_]+Content\s*=\s*"((?:\\.|[^"\\])*)";"#)
else {
return vec![];
};
@@ -230,7 +229,8 @@ if location:
return None;
}
let html = Self::fetch_with_curl_cffi(iframe_url, Some("https://www.porndish.com/")).await?;
let html =
Self::fetch_with_curl_cffi(iframe_url, Some("https://www.porndish.com/")).await?;
let pass_regex = Self::regex(r#"\$\.get\(\s*['"](/pass_md5/[^'"]+)['"]"#)?;
let path = pass_regex
.captures(&html)