-
Notifications
You must be signed in to change notification settings - Fork 59
Pixiv
Notice: Pixiv no longer supports username & password authorization from Feb 9, 2021; You'll have to obtain a refresh token in advance (see #9)
Required unless Nazurin has cached one in your database
Your Pixiv refresh token, you may use this tool to get one.
Optional
Image proxy when viewing artworks, introduced to help Telegram server get the image stably, downloading artworks still uses Pixiv server
e.g.: i.pixiv.cat
Default: i.pximg.net
, aka official image server
Optional
Language for possible tag translation, if translated name is unavailable, original name is used.
Use original name if not set, configured value will be set as Accept-Language
in headers.
Example: zh-CN
, en-US
To support Pixiv ugoira gif preview (sent as mp4) in Telegram, you should have ffmpeg installed.
For more information, refer to https://ffmpeg.org/, make sure libx264 encoder is installed.
On heroku, add a buildpack to your application:
heroku buildpacks:add --index 1 https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git