Output the list of following users on Pixiv to CSV.
This is a Python project that uses pixivpy to get a list of users you are following and output it to a CSV file.
pixivpy is an unofficial API client. Please use it at your own risk. We do not take any responsibility for any damages caused by the use of this tool. Please use it with the understanding of the above.
$ pip install -r requirements.txt
$ cp .env.example .env
Name | Description | Example |
---|---|---|
USER_ID |
Your Pixiv ID for logging in | 0123456 |
REFRESH_TOKEN |
Refresh token for Pixiv | ***_*** |
Gets a list of following users that are not recorded in the CSV file. This is faster than checking all users, because it does not check all users. The first time, it takes the same amount of time as the All mode.
# Output "public" following users (default)
$ python pixiv-following-user-to-csv/main.py --restrict public --mode diff
# Output "private" following users
$ python pixiv-following-user-to-csv/main.py --restrict private --mode diff
This mode initializes the CSV file and then retrieves all following users. This takes time, but it allows you to reflect the deletion or update of users.
# Output "public" following users (default)
$ python pixiv-following-user-to-csv/main.py --restrict public --mode all
# Output "private" following users
$ python pixiv-following-user-to-csv/main.py --restrict private --mode all
The CSV file will be output to the /output
directory.