Crawl your personal favorite images, photo albums, comics from website. Support pixiv, yande.re for now.
Project description
FavoritesCrawler
Crawl your personal favorite images, photo albums, comics from website.
Plan to support:
- pixiv.net (crawl your bookmarks for illust)
- yande.re (crawl posts that you voted)
- immpic.com
- instagram.com
- nhentai.net
Already support:
- pixiv.net (must login), Thanks for project PixivPy.
- yande.re (must login, only input your username)
Requirements
- Python3.6+
Install
pip install favorites_crawler
Config Proxy (Optional)
# on Windows
set https_proxy=http://localhost:8080 # replace with your proxy server
# on Liunx/macOS
export https_proxy=http://localhost:8080
Login
Login Pixiv
Thanks for @ZipFile Pixiv OAuth Flow
- run command
favors login pixiv
- input your user_id (Access your pixiv personal page, copy from address bar), after press Enter, Pixiv login page will open in browser.
- Open dev console (F12) and switch to network tab.
- Enable persistent logging ("Preserve log").
- Type into the filter field: callback?
- Proceed with Pixiv login.
- After logging in you should see a blank page and request that looks like this: https://app-api.pixiv.net/web/v1/users/auth/pixiv/callback?state=...&code=.... Copy value of the code param into the prompt and hit the Enter key.
Login Yandere
- run command:
favors login yandere
- input your username and hit the Enter key.
Crawl
Crawl Pixiv
Before run this command, make sure you are already run favors login pixiv
.
favors crawl pixiv
Crawl Yandere
Before run this command, make sure you are already run favors login yandere
.
favors crawl yandere
Crawl All Support Site
favors crawl all
Config
config file locate on {your_home}/.favorites_crawler/config.yml
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
favorites_crawler-0.0.3.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for favorites_crawler-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c3306ebc2aecaf93ed2ac65c3ff248410652d239569afef9d738370542b603a |
|
MD5 | a480b257dab05050c2862cfbfc4fd9ec |
|
BLAKE2b-256 | 905968ae7b0f025e7536dd3decc88db3763c68464a9fedd21040ddd745234dcb |