Skip to main content

scrapy-slackbot

pdm-managed LICENSE

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

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)

Source distribution for scrapy-slackbot 0.3.0
File Size Uploaded
scrapy-slackbot-0.3.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scrapy-slackbot 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page