an async pixiv toolbox
Project description
pixivcat
an async pixiv toolbox
Feature
- use async
- high performance
- concurrency download
- raw pixiv api
Useage
- Login to pixiv using refresh token, if you don't have a pixiv refresh token, You can find the access method at @upbit
-
from pixivcat.AppApi import AppClient refresh_token = "xxxxxxxxxxxxxxx" # your refresh token async def login(): app = AppClient(refresh_token=refresh_token) async with app: image = app.illust_detail(99057163) print(image) #download image to path await image.download_origin("setu") # bookmark the image await app.illust_bookmark_add(image.id)
proxy
if you want use your proxy, you can add the proxy link to the parameter
app = AppClient(refresh_token=refresh_token,proxy="http://host:port")
exmaple
see exmaple.py
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
pixivcat-0.0.1.tar.gz
(9.5 kB
view hashes)