File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ Place the extension in your Scrapy project and enable it in `settings.py`:
2323``` python
2424EXTENSIONS = {
2525 ' ps_helper.extensions.metrics_extension.MetricsExtension' : 500 ,
26+ ' ps_helper.extensions.slack_extension.SlackAlertExtension' : 600 ,
2627}
28+
29+ SLACK_WEBHOOK_URL = ' url_here'
2730```
2831
2932Optionally configure the number of timeline buckets:
Original file line number Diff line number Diff line change @@ -327,7 +327,7 @@ def _generate_retry_reasons_html(data):
327327 values = df_errors ["Count" ],
328328 marker = dict (
329329 colors = [
330- "#FF5733" , # Naranja rojo (original)
330+ "#FF5733" , # Naranja rojo
331331 "#FF6B3D" , # Naranja brillante
332332 "#FF8047" , # Naranja medio
333333 "#FF9551" , # Naranja claro
@@ -336,7 +336,7 @@ def _generate_retry_reasons_html(data):
336336 "#A8C560" , # Lima
337337 "#7CB862" , # Verde lima
338338 "#50AA64" , # Verde medio
339- "#00BF71" # Verde esmeralda (original)
339+ "#00BF71" # Verde esmeralda
340340 ][
341341 : len (df_errors )
342342 ]
You can’t perform that action at this time.
0 commit comments