1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/examples/inner_text_all.fql
Tim Voronov 570c1b4548
Bug/#80 element not found (#99)
* SOme work

* Some refactoring

* Work on stabalizing queries

* Removed unit test for debugging

* Fixed linter errors

* Added logging when NodeID is 0

* Added --time param to CLI
2018-10-11 12:39:03 -04:00

9 lines
232 B
Plaintext

LET doc = DOCUMENT('https://soundcloud.com/charts/top', true)
WAIT_ELEMENT(doc, '.chartTrack__details', 5000)
LET tracks = ELEMENTS(doc, '.chartTrack')
FOR track IN tracks
RETURN INNER_TEXT_ALL(track, '.chartTrack__details')