@13152 ⚑举报 

奇零草
游客

在“dezoomify-rs”项目找到相关内容:有懂得方法的朋友,希望能详细演示操作一番,在此拜谢!

原文:

Batch mode
dezoomify-rs does not yet have the ability to download multiple images at once itself. However, since it is a commandline application. You can use it within a for loop in a batch script in Windows or a bash script in Linux, MacOS (or windows with wsl).

For instance, in bash, you could create a file called urls.txt containing all the urls you want to dezoomify, and then use xargs together with dezoomify-rs :

xargs -d '\n' -n 1 ./dezoomify-rs < ./urls.txt

翻译:

批处理模式
dezoomify-rs本身尚无法立即下载多个图像。但是,由于它是命令行应用程序。您可以在Windows的批处理脚本或Linux,MacOS(或带有wsl的Windows)的bash脚本的for循环中使用它。

例如,在bash中,您可以创建一个名为的文件,urls.txt其中包含您要进行dezoomify的所有URL,然后将xargs与dezoomify-rs一起使用:

xargs的-d ' \ n ' -n 1 ./dezoomify-rs < ./urls.txt