A Scrapy extension to send notification to the Slack channel.
Project description
scrapy-slackbot
A Scrapy extension to send notification to the Slack channel.
Installation
$ pip install scrapy-slackbot
Settings
In settings.py
:
EXTENSIONS = {
'scrapyslackbot.extensions.SlackBot': 500,
}
SLACK_ENABLED = True
SLACK_BOT_TOKEN = ''
SLACK_CHANNEL = ''
SLACK_ENABLED
A boolean which specifies whether the bot is enabled.
SLACK_BOT_TOKEN
Bot User OAuth Access Token
generated by Slack.
Follow the instructions of Slack API, visit Features > OAuth & Permissions
and generate the token.
SLACK_CHANNEL
The ID of the channel in your workspace.
Demo
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scrapy-slackbot-0.2.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for scrapy_slackbot-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae682d1fe9051148acfb98cb9995390596a2209bb1d56abb5e841ff90a60d53f |
|
MD5 | 890f400224eae156bb96058b50ad9cc1 |
|
BLAKE2b-256 | c217fbc001bcc1617a7ca7129326178450b9150f659e9758d0e7ae94086ad082 |