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.
Development
$ pdm install
Demo
License
MIT
Metadata
Release files for scrapy-slackbot 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scrapy-slackbot-0.3.0.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrapy_slackbot-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / scrapy-slackbot-0.3.0.tar.gz
| Download URL | scrapy-slackbot-0.3.0.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b38e0fa8e98f5cdc15c5bacd39b94c9a8522f87582237e74736163a3288e6fea
|
|
BLAKE2b-256 checksum How to use checksums |
30e07a941b1ec191a30d32d34f4b93c270b979aaf3465f1accac60beecc6b864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / scrapy_slackbot-0.3.0-py3-none-any.whl
| Download URL | scrapy_slackbot-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dee3640748ba8e4d07e289d027e27b6049a33d38bd11875b2b4a5edfae69fad9
|
|
BLAKE2b-256 checksum How to use checksums |
709970da90a77d5e4e14aa8c71f00c92806665dff1a755f54442bdda3d6874dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|