update get_response
This commit is contained in:
@@ -125,7 +125,8 @@ fn process_album(idx: i32, blank_count: &mut i32) -> bool {
|
|||||||
}
|
}
|
||||||
Err(DownloadResult::NetworkError) => {
|
Err(DownloadResult::NetworkError) => {
|
||||||
// 获取标题时网络错误:索引前进,增加空白计数
|
// 获取标题时网络错误:索引前进,增加空白计数
|
||||||
println!("⚠️ 索引 {} 获取标题时网络错误,跳过", idx);
|
println!("⚠️ 索引 {} 获取标题时网络错误,跳过并记录到失败列表", idx);
|
||||||
|
file::write_failed_index(idx);
|
||||||
thread::sleep(Duration::from_millis(3000));
|
thread::sleep(Duration::from_millis(3000));
|
||||||
*blank_count += 1;
|
*blank_count += 1;
|
||||||
true
|
true
|
||||||
|
|||||||
Reference in New Issue
Block a user