Hi, I'm a beginner at this, but I have a quite specific wish I want to achieve.

There is a site, where you can download single music tracks
The downloading works like this xxx.com/download/###### (###-track id)
Downloading multiple tracks is quite annoying like this so I want to make a script that does the work.

When I have a playlist opened at the site, I open source and all the track id-s from the playlist are there on specific lines.
For example track #1
Code:
line 892 				rt.subscribe("track_123456", function (result) {
track #2
Code:
line 926					rt.subscribe("track_654321", function (result) {
etc.

I want to collect 10 track-ids and start downloading them all at once.
How do I achieve this?