mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
use semantic var names, apply minor optimizations
This commit is contained in:
parent
eea10011ed
commit
c3bb7c8b4c
2 changed files with 54 additions and 36 deletions
|
|
@ -119,7 +119,10 @@ async fn main() -> Result<()> {
|
|||
)),
|
||||
// the destination folder to preload files match `preload_regex`
|
||||
// * e.g. images for audio albums
|
||||
output_folder: preload.tmp(&i, true)?.to_str().map(|s| s.to_string()),
|
||||
output_folder: preload
|
||||
.tmp_dir(&i, true)?
|
||||
.to_str()
|
||||
.map(|s| s.to_string()),
|
||||
..Default::default()
|
||||
}),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue