1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/examples/value.fql
2018-10-05 23:36:23 -04:00

4 lines
175 B
Plaintext

LET doc = DOCUMENT("https://www.yandex.com/search/?text=foobar", true)
LET input = ELEMENT(doc, 'input[type="search"]')
RETURN input.value ? input.value : 'value not defined'