Skip to main content

Send crawl reports from Scrapy spiders to Google Chat

Project description

scrapy-google-chat

Send crawl reports from Scrapy spiders to Google Chat

Usage

Create a webhook in Google Chat: https://developers.google.com/hangouts/chat/how-tos/webhooks

Within your Scrapy project, install the package:

pip install scrapy-google-chat

Register and configure the extension in settings.py:

EXTENSIONS = {
    ...
    'scrapy_google_chat.GoogleChatBot': 100,
    ...
}
...
GOOGLE_CHAT_WEBHOOK = <YOUR_WEBHOOK>

You're good to go. Happy crawling!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrapy-googlechat-1.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

scrapy_googlechat-1.0-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page