vidara proxy for sxyprn

This commit is contained in:
Simon
2026-05-05 08:58:26 +00:00
committed by ForgeCode
parent 60d29ca905
commit 8ae0fcb544
8 changed files with 212 additions and 178 deletions

View File

@@ -599,7 +599,7 @@ async fn videos_post(
}
for video in video_items.iter_mut() {
if video.duration <= 120 {
if video.duration <= 120 && video.duration > 0{
let mut preview_url = video.url.clone();
if let Some(formats) = &video.formats {
if let Some(first) = formats.first() {
@@ -657,7 +657,6 @@ async fn videos_post(
for video in video_items.iter_mut() {
video.id = format!("{}:{}", channel, video.id);
println!("Video ID set to: {}", video.id);
}
// There is a bug in Hottub38 that makes the client error for a 403-url even though formats work fine