ioBroker/ioBroker.parser

unable to parse webpage with json

pehon opened this issue · 3 comments

pehon commented

Describe the bug
After a upgrade from 1.1.8 to 1.2.0 I'm no more able to parse a webpage with json content.
With 1.1.8 I was able to use something like
.value":(\d),.
But with 1.2 i always get [object Object]
The same happen with type "JSON".

To Reproduce
Steps to reproduce the behavior:

  1. Use https://jsonplaceholder.typicode.com/todos/1
  2. try to capture "title"

Expected behavior
use type regex and/or type json to get "delectus aut autem"

Screenshots & Logfiles
grafik

Versions:

  • Adapter version: 1.2.0
  • JS-Controller version: 4.0.23
  • Node version: v14.20.0
  • Operating system: Raspbian GNU/Linux 10 (buster)

Ok, fix will come soon

v1.2.1 on it's way ... faster use Github :-)

pehon commented

wow, that was quick, it's now fixed, thank you!