urlwatch
urlwatch copied to clipboard
question on example job for urlwatch releases using new dictionary based filter lists
This fails when adding method: xml
name: (01)urlwatch update released
url: "https://github.com/thp/urlwatch/releases/latest"
filter:
- xpath:
path: '(//div[contains(@class,"release-timeline-tags")]//h4)[1]/a'
method: xml
- html2text:
method: re
---
You mention that when using default subfilters there is no need to add a second line. It might be useful to list somewhere what the default subfilters are.
you say that:
filter:
- css:
selector: body
- html2text:
method: re
- strip
is the same as:
filter:
- css: body
- html2text: re
- strip
In the urlwatch --features output, the default parameters are listed enclosed in [], as mentioned in its output:
[] ... Parameter can be supplied as unnamed value
Thank you.
In the case above what is the reason that specifying method: xml causes the job to error? Is it because the path is written in xml format and there is no need to specify?