mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +02:00
05a7582bba
* SOme wokrd * Renamed example * Updated example
12 lines
330 B
Plaintext
12 lines
330 B
Plaintext
LET doc = DOCUMENT('https://soundcloud.com/charts/top', true)
|
|
|
|
WAIT_ELEMENT(doc, '.chartTrack__details', 5000)
|
|
|
|
LET tracks = ELEMENTS(doc, '.chartTrack__details')
|
|
|
|
FOR track IN tracks
|
|
RETURN {
|
|
artist: TRIM(INNER_TEXT(track, '.chartTrack__username')),
|
|
track: TRIM(INNER_TEXT(track, '.chartTrack__title'))
|
|
}
|