A Scrapy extension for sending notification to Slack channels.
$ pip install scrapy-slackbot
In settings.py
:
EXTENSIONS = {
'scrapyslackbot.extensions.SlackBot': 500,
}
SLACK_ENABLED = True
SLACK_BOT_TOKEN = ''
SLACK_CHANNEL = ''
A boolean which specifies whether the bot is enabled.
Bot User OAuth Access Token
generated by Slack.
Follow the instructions of Slack API, visit Features > OAuth & Permissions
and generate the token.
The ID of the channel in your workspace.
We use PDM as the package and dependency manager. Please make sure you have installed PDM at first.
$ pdm install
The project is licensed under the MIT License.