Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iammoltony/pixiv-monitor

Pixiv monitoring tool + Pixiv RSS feed
https://github.com/iammoltony/pixiv-monitor

monitoring-tool pixiv pixiv-bot python python-3 python3 rss rss-feed

Last synced: 1 day ago
JSON representation

Pixiv monitoring tool + Pixiv RSS feed

Awesome Lists containing this project

README

        

# pixiv-monitor

pixiv-monitor is a Python script for monitoring Pixiv artist galleries, so you can stay up-to-date on your favorite anime pictures.

It even has RSS support. It's pretty basic, but works.

## Installing

1. Make sure you have Python 3 on your computer
2. Clone the repository
3. Install the dependencies: `pip install -r requirements.txt`
4. Done

Before running the script (`main.py`), you'll need to configure it as described below.

## Configuring

Before using pixiv-monitor, you have to configure it.

First copy `settings-example.json` as `settings.json`. In the `settings.json` file, you'll need to set a few options:

1. `access_token` and `refresh_token`: Your Pixiv API tokens.
2. `artist_ids`: A list of IDs of the artists whose galleries you want to monitor.
3. `check_interval`: How often to check, in seconds.
4. `email`: Whether to enable email notifications.

### SMTP options

These are entirely optional if you don't want to use email notifications.

1. `mail_host`: The SMTP host server. `address` is the SMTP host address, `port` is the port.
2. `from_address`: What address the emails will be sent from.
3. `to_address`: What address the emails will be sent to.
4. `credentials`: Your login and password for the email host server.

## RSS

To add RSS, simply run `rssmain.py` alongside `main.py`. It will automatically create the RSS file (`pixiv.atom`), which can then either be accessed locally or served using an HTTP server.