-
Notifications
You must be signed in to change notification settings - Fork 257
Home
Welcome to the PixivUtil2 wiki!
-
Extract the archive and add your username and password in
config.ini
at[Authentication]
section. This is still required for Fanbox oAuth. Ifconfig.ini
doesn't exists, just run thePixivUtil2.exe
orPixivUtil2.py
(if you run from source code) at least 1 time to auto-generate it. -
Open your browser (I'm using Chrome) and login to your pixiv account. After log in, it will automatically forward you to the main page. I'm using English language (It is accessible by clicking the down arrow next your profile pic in the main page).
-
Press
F12
, this will open a DevTools. Navigate to theNetwork
tab and pressCtrl+R
to reload the page from DevTools. This will reload the current page and record the traffic from pixiv. Copy theuser-agent
and update it inconfig.ini
at[Network]
section. -
Navigate to
Application
tab and expand theCookies
. Selecthttps://www.pixiv.net
from the list. This will list all cookies from the pixiv server. Search for cookie named =PHPSESSID
, then copy the value and paste it to thecookie
in yourconfig.ini
. The value should be in<member_id>_<random string>
, for example:123456_AaBbccDDeeFFggHHIiJjkkllmMnnooPP
. Save yourconfig.ini
. -
Check by running
PixivUtil2.exe
orPixivUtil2.py
(if you run from source code). If the login successful, it will show themember_id
(should the same as the cookie` and the Pixiv Premium status.
-
Handling username changes
whinette already created a script to handle this (https://github.com/whinette/pixixDownloader_cleaning, Refer to Issue #169).
-
Running in Windows Environment
There are 2 Option available:
- Download the executable version from the releases page.
- Run from source code: see IDE-Enviroment-(Windows)
-
Running in Linux Environment
I'm developing the script in Windows environment, so I'm not sure if there is something broken for linux. By right it should be working as long the required libraries are installed (Refer to Issue #176).