这是一个用来下载Safebooru图片的简易程序,用Selenium库实现
This is a simple crawler written with Selenium, to download images from Safebooru.org
- 下载Python,程序采用的版本为3.11;
- 下载Selenium库(
pip install selenium
); - 在.py文件的路径下打开控制台,使用指令
python image_crawler_main.py
启动程序; - 输入要搜索的tag,用回车分隔每个tag. 要结束输入,输入一个空tag (也就是按两次Enter) ;
- 静候下载完成(下载路径默认为该程序所在文件夹下).
- Download python, version 3.11 is recommended;
- Download selenium (
pip install selenium
); - Open cmd window at where the .py file is located, initialize the program with command
python image_crawler_main.py
; - Input the tag seperated by enter. Input a empty tag will start the download immediately (which means pressing enter twice) ;
- Wait for the downloading process to finish. The image file will be downloaded at where the .py file is located.