scrapinghub / spidermon

Scrapy Extension for monitoring spiders execution.
https://spidermon.readthedocs.io
BSD 3-Clause "New" or "Revised" License
528 stars 96 forks source link

ModuleNotFoundError: No module named 'spidermon.contrib.actions.discord' #350

Closed bishalnepali closed 2 years ago

bishalnepali commented 2 years ago

Hi there I am trying to use the discord notification but not able to import the file

from spidermon.contrib.actions.discord.notifiers import SendDiscordMessageSpiderFinished

I am using the latest version

image

Thanks!

rennerocha commented 2 years ago

Hello @bishalnepali ,

Discord integration is not released yet. It is already in master branch (the latest documentation), but not available in the current stable version (1.16.2). If you want to use it right now, you will need to install the version in the master branch.

We expect to have a new release of Spidermon in the next weeks, so Discord integration will be available in the stable version soon.

Laerte commented 2 years ago

Hello @bishalnepali ,

Discord integration is not released yet. It is already in master branch (the latest documentation), but not available in the current stable version (1.16.2). If you want to use it right now, you will need to install the version in the master branch.

We expect to have a new release of Spidermon in the next weeks, so Discord integration will be available in the stable version soon.

To install the current version of master, run:

pip install -e git+ssh://git@github.com/scrapinghub/spidermon.git@master#egg='spidermon[monitoring]'
bishalnepali commented 2 years ago

Many thanks! @rennerocha @Laerte 👍 .