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!
Release files for scrapy-googlechat 1.1
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-googlechat-1.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrapy_googlechat-1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / scrapy-googlechat-1.1.tar.gz
| Download URL | scrapy-googlechat-1.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f0302fa5fc7e679d67fc34dcfa0815d9d791d5ff26e439e55a9db72ffb921c5
|
|
BLAKE2b-256 checksum How to use checksums |
bbba5c292979cb63fffde5c556b40d3d9b9a9ed45ff54379a35822e929fd8d4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / scrapy_googlechat-1.1-py3-none-any.whl
| Download URL | scrapy_googlechat-1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
214f7e6861b5dfb2b17ffe3ac4cfaa23e8db5bd15474ea7f8db279a53895e59b
|
|
BLAKE2b-256 checksum How to use checksums |
4931f971dee44de3cb63c2662c1fc57382ebeaf5707ebb266ae9618f207dfaf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|