Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryohidaka/pixiv-switch-following-users-visibility
Switch visibility (public or private) of following users on Pixiv.
https://github.com/ryohidaka/pixiv-switch-following-users-visibility
pixiv pixiv-api pixivpy
Last synced: 13 days ago
JSON representation
Switch visibility (public or private) of following users on Pixiv.
- Host: GitHub
- URL: https://github.com/ryohidaka/pixiv-switch-following-users-visibility
- Owner: ryohidaka
- License: mit
- Created: 2023-07-21T11:18:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-21T14:53:19.000Z (over 1 year ago)
- Last Synced: 2024-11-18T07:17:45.834Z (3 months ago)
- Topics: pixiv, pixiv-api, pixivpy
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixiv-switch-following-users-visibility
Switch visibility (public or private) of following users on Pixiv.
## Overview
This is a Python project that uses [pixivpy](https://github.com/upbit/pixivpy) to switch visibility users you are following.
## Notes
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.
## Installation
### Install the dependency packages
```zsh
$ pip install -r requirements.txt
```### Set environment variables
```zsh
$ cp .env.example .env
```| Name | Description | Example |
| --------------- | ---------------------------- | --------- |
| `USER_ID` | Your Pixiv ID for logging in | `0123456` |
| `REFRESH_TOKEN` | Refresh token for Pixiv | `***_***` |### Run
#### Copy Mode (default)
`Source` remains the same, and follow `Target` users (**Copy**).```zsh
# public => private (default)
$ python pixiv-following-user-to-csv/main.py --source public --target private --mode copy# private => public
$ python pixiv-following-user-to-csv/main.py --source private --target public --mode copy
```#### Move Mode
`Source` will be unfollowed and then followed on `Target`. (**Move**)```zsh
# public => private (default)
$ python pixiv-following-user-to-csv/main.py --source public --target private --mode move# private => public
$ python pixiv-following-user-to-csv/main.py --source private --target public --mode move
```## Related
- [pixivpy](https://github.com/upbit/pixivpy)