added url to error log

This commit is contained in:
Simon
2026-01-14 14:17:00 +00:00
parent 87b9d20240
commit 4f9c7835bf

View File

@@ -406,7 +406,7 @@ impl HqpornerProvider {
.split("<video ") .split("<video ")
.nth(2) .nth(2)
.and_then(|s| s.split("</video>").next()) .and_then(|s| s.split("</video>").next())
.ok_or(format!("No video element\n{text2}"))?; .ok_or(format!("No video element\n{player_url}\n{text2}"))?;
for source in video_element.split("<source ").skip(1) { for source in video_element.split("<source ").skip(1) {
let title = source let title = source
.split("title=\\\"") .split("title=\\\"")