25 lines
628 B
Markdown
25 lines
628 B
Markdown
|
##安装
|
|||
|
###环境需求:python3.6+ / pip3
|
|||
|
####Linux
|
|||
|
```shell
|
|||
|
git clone https://github.com/nyaasuki/DoubanBookSpider.git
|
|||
|
cd ./DoubanBookSpider
|
|||
|
python3 Spider.py
|
|||
|
```
|
|||
|
####Window
|
|||
|
配置好环境后
|
|||
|
下载并解压https://github.com/nyaasuki/DoubanBookSpider/archive/master.zip
|
|||
|
使用cmd命令运行
|
|||
|
```DOS
|
|||
|
python path\DoubanBookSpider\Spider.py #path为文件存放路径
|
|||
|
```
|
|||
|
|
|||
|
或者
|
|||
|
|
|||
|
__在CMD命令行中,输入 “python” + “空格”,即 ”python “;__
|
|||
|
|
|||
|
__将已经写好的脚本文件拖拽到当前光标位置,然后敲回车运行即可__
|
|||
|
|
|||
|
|
|||
|
##重置程序
|
|||
|
删除DoubanBookSpider目录下的Spider.db即可
|