Skip to content

zeelrupapara/scrapy-mattermostbot

Repository files navigation

scrapy-mattermostbot

A Scrapy extension for sending notification to Mattermost channels.

Installation

$ pip install scrapy-mattermostbot

Settings

In settings.py:

EXTENSIONS = {
    'scrapymattermostbot.extensions.Mattermost': 500,
}

MATTERMOST_WEBHOOK_URL = <mattermost webhook url>

MATTERMOST_WEBHOOK_URL

Mattermost Webhook URL generated by mattermost.

Follow the instructions of Mattermost Developer Guides,

Development

We use Pipenv as the package and dependency manager. Please make sure you have installed pipenv at first.

$ pipenv shell

Demo

demo

License

The project is licensed under the MIT License.