PixivSpider
PixivSpider is a web spider library about Pixiv, written in Python3.
The power of PixivSpider:
>>> from PixivSpider import PixivSpiderApi >>> account = 'your Pixiv account' >>> password = 'your Pixiv password' >>> r = PixivSpiderApi.get_a_picture(picture_id=67844926, dirname='D://', account=account, password=password) https://www.pixiv.net/member_illust.php?mode=medium&illust_id=67844926 200 图片源页面访问成功...67844926 67844926 0 2018/03/21/18/00/25 jpg 67844926 0 2018/03/21/18/00/25 jpg 67844926_p0.jpg保存成功... 下载成功...67844926 Download successful: 67844926 Picture save path: D://67844926_p0.jpg
Feature Support
- Download picture files via picture ID.
- Get picture information via picture ID.
- Get painter information via the ID of his picture or painter ID.
- Get all picture files of the painter via the ID of his picture or painter ID.
- Add or modify bookmarks via picture ID.
Installation
pip install PixivSpider
Documentation
In progress: http://pixivspider.readthedocs.io/zh/latest/
How to Contribute
- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
- Fork the repository on GitHub to start making your changes to the master branch (or branch off it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published.