commit 1d132463f2f45e5ded22bb34655a0d4468660ecf
parent 3a9376e70e71139d9c4c2ff66ccf804e8beb6adb
Author: egor-achkasov <eaachkasov@gmail.com>
Date: Fri, 20 Feb 2026 22:10:43 +0000
Fix thumbnail downloading bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/export.rs b/src/export.rs
@@ -87,7 +87,7 @@ pub async fn export2html(
.filter_map(|f| f.url_thumb.split('/').last().map(|name| (f, name)))
{
let path = format!("{}/{}", dir, filename);
- download(&f.url, &path).await?;
+ download(&f.url_thumb, &path).await?;
}
}