fix: do not cache local media paths

This commit is contained in:
2026-09-24 18:52:18 +08:00
parent 438ced278f
commit 412359e84c
2 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ impl PixivAPI {
let mut unpacked = 0u64;
let mut extension = "jpg";
for i in 0..archive.len() {
let mut entry = archive.by_index(i).map_err(|e| e.to_string())?;
let entry = archive.by_index(i).map_err(|e| e.to_string())?;
if entry.size() > 64 * 1024 * 1024 {
return Err(format!("frame {i} exceeds size cap"));
}