一个Pixiv小爬虫,目前只可以爬每日, 支持长时间爬取 跳过已经爬过的
Go to file
nyaasuki 66b42799bd 准备重构程序。 2021-05-18 00:08:59 +08:00
.gitignore up to date 2021-05-17 16:39:28 +08:00
LICENSE 添加 LICENSE 2019-09-16 16:44:23 +00:00
Pixiv.py 准备重构程序。 2021-05-18 00:08:59 +08:00
README.md 更新了描述文件 2021-05-14 22:06:32 +08:00
requirements.txt Update requirements.txt 2021-05-17 01:58:51 +00:00

README.md

一个Pixiv小爬虫目前只可以爬每日 支持长时间爬取 跳过已经爬过的

环境需求

Python:3.6+ / Redis

食用方法

Linux/OSX:

git clone https://github.com/nyaasuki/PixivSpider.git && cd ./PixivSpider
python3 Pixiv.py

Windows:

  1. 下载/clone这个项目

  2. 配置好环境python、Redis

  3. 打开你的CMD窗口

  4. 输入python+ ←这是一个空格

  5. 用鼠标把Pixiv.py这个文件拖到cmd窗口

    ^_^

注意事项

1.requests安装错误

ERROR: Could not find a version that satisfies the requirement resquests ERROR: No matching distribution found for resquests

解决方案手动安装requests

'pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests'

2.请输入一个cookie

目前此项留空直接回车也可以正常爬取,如果后续添加新功能可以能需要

此项储存在本地redis中

3.复位程序

请清除Redis中的数据更换cookie同理

特别提醒

正常来说,当没有出现上方问题时,程序出现问题大多为你的上网方式不够科学 缓慢更新中...