1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-12 11:15:14 +02:00
ferret/examples/inner_text_all.fql

9 lines
245 B
Plaintext
Raw Permalink Normal View History

2019-07-23 20:55:26 +02:00
LET doc = DOCUMENT('https://soundcloud.com/charts/top', { driver: "cdp" })
WAIT_ELEMENT(doc, '.chartTrack__details', 5000)
LET tracks = ELEMENTS(doc, '.chartTrack')
FOR track IN tracks
RETURN INNER_TEXT_ALL(track, '.chartTrack__details')