![]() |
![]()
| ![]() |
![]()
NAMEurlwatch-config - Configuration of urlwatch behavior SYNOPSISurlwatch --edit-config DESCRIPTIONThe global configuration for urlwatch contains basic settings for the generic behavior of urlwatch as well as the Reporters. DISPLAYIn addition to always reporting changes (which is the whole point of urlwatch), urlwatch by default reports newly-added (new) pages and errors (error). You can change this behavior in the display section of the configuration: display: If you set unchanged to true, urlwatch will always report all pages that are checked but have not changed. The empty-diff settings control what happens if a page is changed, but due to e.g. a diff_filter the diff is reduced to the empty string. If set to true, urlwatch will report an (empty) change. If set to false, the change will not be included in the report. Filter changes are not applied for unchangedDue to the way the filtered output is stored, unchanged will always report the old contents with the filters at the time of retrieval, meaning that any changes you do to the filter of a job will not be visible in the unchanged report. When the page changes, the new filter will be applied. For this reason, unchanged cannot be used to test filters, you should use the --test-filter command line option to apply your current filter to the current page contents. REPORTERS"Reporters" are the modules that deliver notifications through their respective medium when they are enabled through the configuration file. See urlwatch-reporters(5) for reporter-specific options. In addition to the reporter-specific options, all reporters support these options:
Reporters are implemented in a hierarchy, such that these common configuration settings will apply to all descendent reporters: html text ├───stdout ├───email ├───ifttt ├───webservice │ ├───pushover │ └───pushbullet ├───mailgun ├───telegram ├───slack │ └───mattermost ├───discord ├───xmpp ├───prowl └───shell markdown ├───matrix └───gotify NOTE: Setting the email reporter's html option to
true will cause it to inherit from the html configuration.
Here is an example configuration that reports on standard output in color, as well as HTML e-mail using sendmail: report: Any reporter-specific configuration must be below the report key in the configuration. JOB DEFAULTSIf you want to change some settings for all your jobs, edit the job_defaults section in your config file: job_defaults: The above config file sets all jobs to use wdiff as diff tool, and all url jobs to ignore connection errors. The possible sub-keys to job_defaults are:
See Jobs about the different job kinds and what the possible keys are. FILES$XDG_CONFIG_HOME/urlwatch/urlwatch.yaml SEE ALSOurlwatch(1), urlwatch-reporters(5), urlwatch-intro(7), urlwatch-cookbook(7) COPYRIGHT2024 Thomas Perl
|