match вместо xpath норм отрабатывает
двигать и кликнуть по >MATCH><a href="/news/2021/09/03/soprotivleniye
ps. у меня такой ошибки по вашему проекту не было. версия 24.1.1
var json = JSON.parse({"errorId":0,"status":"ready","solution":{"text":"13","url":"http:\/\/209.212.146.170\/910\/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0})
[[TEXT]] = json.text
Кто может помочь? нужно спарсить значение перменной text
Сколько уже перечитал , ничего не получается, сам js не знаю :)
@flex20022 Вроде так
[[TEXT]] = JSON.parse({"errorId":0,"status":"ready","solution":{"text":"13","url":"http:\/\/209.212.146.170\/910\/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0}).solution.text
@bigorat said in js парсинг:
JSON.parse({"errorId":0,"status":"ready","solution":{"text":"13","url":"http://209.212.146.170/910/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0}).solution.text
[869110306] [23:01:37] Поток №1 : SyntaxError: Unable to parse JSON string во время выполнения действия 869110306
@flex20022 ну а в кавычки брать строку json? :)
[[TEXT]] = JSON.parse('{"errorId":0,"status":"ready","solution":{"text":"13","url":"http:\/\/209.212.146.170\/910\/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0}').solution.text
@flex20022 said in js парсинг:
var json = JSON.parse('{"errorId":0,"status":"ready","solution":{"text":"13","url":"http://209.212.146.170/910/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0})
[[TEXT]] = json.text
var json = JSON.parse({"errorId":0,"status":"ready","solution":{"text":"13","url":"http://209.212.146.170/910/153435394344353.png"},"cost":"0.000700","ip":"9223.7229.12228.124","createTime":1534353943,"endTime":1534353959,"solveCount":0}');
[[TEXT]] = json.text.solution;
P/S
Все же для написание скриптов желательно иметь базовые знания js.