vidara proxy for sxyprn
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user