Comments (5)
A quick search of the issues board finds this extremely similar request too: #286
from urlwatch.
You have the option of ignoring them entirely: https://urlwatch.readthedocs.io/en/latest/advanced.html#ignoring-connection-errors
You can use max_tries
to ignore an error for a number of tries: https://urlwatch.readthedocs.io/en/latest/jobs.html#optional-keys-for-all-job-types
The other option is to use a command instead of a url. If you use something like curl to pull the page, then the curl output will switch from the page output to the 404 message, and that will only be reported once. Some hints here: https://urlwatch.readthedocs.io/en/latest/jobs.html#configuring-stderr-behavior-for-shell-jobs
There is an argument for a setting that would allow a user to specify that 404 shouldn't count as an error and should just be reported as normal.
from urlwatch.
404 is specific for this case, but I think there should be a setting for just this: Report the error only once, and the next report should occur only when this changes, whatever the change might be (an other, but different error, or a real diff, or just that the site is accessible again, etc.)
I don't want to ignore the error, I want to know about it. But I don't want to know about it every 5 minutes (assuming urlwatch runs every 5 mintues).
max_retries
is something, but really just pushes the problem away a bit.
Using shell could also work (then with whatever the user wants they can use) but it very much complicates watching a simple url.
So imho there should be an inbuilt option for url for the above mentioned issue.
from urlwatch.
Yep, I agree its a good suggestion :)
from urlwatch.
Marking as duplicate of #286, let's continue the discussion there?
from urlwatch.
Related Issues (20)
- Reporting blanks HOT 28
- add support to specify multiple recipients per URL HOT 7
- YAML Anchors/Aliases not working HOT 4
- CSS Filter "AttributeError: 'CSSSelector' object has no attribute 'evaluate'" HOT 2
- FEATURE: Support multiple reporters with different options HOT 6
- Meaning of max_tries is confusing
- urlwatch stopped working HOT 4
- sendmail is not documented HOT 2
- Randomly "not enough values to unpack" Python errors HOT 4
- Cache inconsistency creating new items from nowhere HOT 3
- Feature request: Extension of regex filtering to extract data HOT 7
- Consider releasing version 2.29 HOT 5
- urlwatch 2.25-1 on Debian Stable 12.5 (navigate fails) HOT 3
- Enable/disable job from the command line HOT 1
- urlwatch moans when supplying --config HOT 1
- urlwatch 2.25 - AttributeError: 'list' object has no attribute 'read' HOT 2
- XML parsing with CDATA not working HOT 6
- urlwatch 2.28: html: separate: true not sending separate emails HOT 2
- --test-filter works but not with a normal execution HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urlwatch.