changedetection.io: [bug] JSONPath Filter ?() not supported

I keep getting Internal Server Error when trying to use the ?() - filter. $[?(@.status==xxx)]

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Ok right

>>> from jsonpath_ng.ext import parse
>>> parse('$.results[?(@.name=="latest-ubuntu18.04")].last_updated')
Child(Child(Child(Root(), Fields('results')), Filter([Expression(Child(This(), Fields('name')) == 'latest-ubuntu18.04')])), Fields('last_updated'))
>>> 

yeah that works

@liepaja thanks for that, lets see how https://github.com/dgtlmoon/changedetection.io/pull/266 goes in the CI tests, I’ll need to add some test for this case aswell