/pcrd-tw-discord-crawler

A Python script to crawl the news of "Princess Connect Re:Dive" Taiwanese version

Primary LanguagePythonMIT LicenseMIT

pcrd-tw-webhook-crawler

A crawler to crawl the news of "Princess Connect Re:Dive TW version" from the official website, and post them on Discord servers automatically.

Examples

Getting Started

Prerequisites

Installation

To run pcrd-tw-discod-crawler, you need to install libraries inside requirements.txt.

pip install -r requirements.txt

Configuration

Open pcrd-news.py and fill in the webhook URLs.

webhooks = ['https://discordapp.com/api/webhooks/.../...']

If you have more than one URL to add, seperate them with a comma.

webhooks = [
    'https://discordapp.com/api/webhooks/.../...',
    'https://discordapp.com/api/webhooks/.../...',
]

Usage

Run pcrd-tw-discord-crawler by running the below command in terminal.

python pcrd-news.py