Senders
Available senders are:
Gmail
Send HTML formatted emails through a gmail address. GMAIL_SENDER and GMAIL_TOKEN env variables must be set.
Note
Check https://support.google.com/accounts/answer/185833?hl=en for more details
To enable email sender, simply add an email block in the scrapping config, alongside with recipients field (list of emails), as follows:
[email]
recipients = ["aghiles.ahmed.azzoug@gmail.com", "second_email@outlook.fr"]
Microsoft Teams (Untested yet !)
Support for Microsoft Teams is accessible but has not undergone real webhook testing yet. If you encounter any issues, please don’t hesitate to submit an issue or pull request.
To enable teams message, set the teams block in the config file with the webhook_url (You channel webhook URL), as follows:
[teams]
webhook_url = "https://test_webhook.com/test=123xyz"
Slack
Support for Slack is enabled, although it may not be visually appealing.
You can activate it by configuring the slack block in the config file, along with the channel_id.
Additionally, ensure that the SLACK_OAUTH_TOKEN environment variable is set.
Note
SLACK_OAUTH_TOKEN is the bot oauth token (starts with xoxb-). For more details, see https://api.slack.com/authentication/token-types#bot
Example in the config file:
[slack]
channel_id = "my-channel"
Local directory
The “Local directory” isn’t exactly a “sender.”
Its primary function is to maintain HTML documents for debugging purposes.
In the config file it looks as follows:
[local_dir]
path = "./tmp"
Html pages will be saved at {CWD}/tmp.