Metadata-Version: 2.1
Name: scrapy-mattermostbot
Version: 1.0.0
Summary: A Scrapy extension for sending notification to Mattermost channels
Keywords: scrapy mattermost mattermostbot
Author-Email: Jeel Rupapara <zeelrupapara@gmail.com>
License: MIT
Requires-Python: >=3.6
Requires-Dist: scrapy
Requires-Dist: pdm
Description-Content-Type: text/markdown

# scrapy-mattermostbot


A [Scrapy](https://scrapy.org/) extension for sending notification to Mattermost channels.

## Installation

```shell
$ pip install scrapy-mattermostbot
```

## Settings

In `settings.py`:

```python
EXTENSIONS = {
    'scrapyslackbot.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](https://developers.mattermost.com/integrate/webhooks/incoming/),


## Development

We use [Pipenv](https://pdm.fming.dev/) as the package and dependency manager. Please make sure you have installed pipenv at first.

```shell
$ pipenv shell
```

## Demo

![demo](docs/assets/demo.jpg)

## License

The project is licensed under the MIT License.
