mirror of
https://github.com/MontFerret/ferret.git
synced 2025-02-01 13:07:49 +02:00
9 lines
318 B
Plaintext
9 lines
318 B
Plaintext
|
LET doc = DOCUMENT('https://soundcloud.com/charts/top', { driver: "cdp", userAgent: "*" })
|
||
|
|
||
|
WAIT_ELEMENT(doc, '.chartTrack__details', 5000)
|
||
|
SCROLL_BOTTOM(doc)
|
||
|
|
||
|
LET evt = (WAITFOR EVENT "request" IN doc FILTER CURRENT.url LIKE "https://api-v2.soundcloud.com/charts?genre=soundcloud*")
|
||
|
|
||
|
RETURN evt.headers["User-Agent"]
|