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!
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapy-googlechat-1.1.tar.gz.
File metadata
- Download URL: scrapy-googlechat-1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f0302fa5fc7e679d67fc34dcfa0815d9d791d5ff26e439e55a9db72ffb921c5
|
|
| MD5 |
8d23d89174a501f52b133c36ab935b8e
|
|
| BLAKE2b-256 |
bbba5c292979cb63fffde5c556b40d3d9b9a9ed45ff54379a35822e929fd8d4c
|
File details
Details for the file scrapy_googlechat-1.1-py3-none-any.whl.
File metadata
- Download URL: scrapy_googlechat-1.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
214f7e6861b5dfb2b17ffe3ac4cfaa23e8db5bd15474ea7f8db279a53895e59b
|
|
| MD5 |
73133f930b4bdbaa1e1c7ebe0085abe0
|
|
| BLAKE2b-256 |
4931f971dee44de3cb63c2662c1fc57382ebeaf5707ebb266ae9618f207dfaf1
|