Send crawl reports from Scrapy spiders to Google Chat
Project description
scrapy-googlechat
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-googlechat
Register and configure the extension in settings.py
:
EXTENSIONS = {
...
'scrapy_google_chat.GoogleChatBot': 100,
...
}
...
GOOGLE_CHAT_WEBHOOK = 'YOUR_WEBHOOK'
# Optional: change the image displayed in Google Chat
GOOGLE_CHAT_IMAGE = 'https://img.icons8.com/ios/452/spider.png'
You're good to go. Happy crawling!
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-googlechat-1.1.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for scrapy_googlechat-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 214f7e6861b5dfb2b17ffe3ac4cfaa23e8db5bd15474ea7f8db279a53895e59b |
|
MD5 | 73133f930b4bdbaa1e1c7ebe0085abe0 |
|
BLAKE2b-256 | 4931f971dee44de3cb63c2662c1fc57382ebeaf5707ebb266ae9618f207dfaf1 |