Skip to content

Collects all recent tracks from following profiles and makes a playlist

License

Notifications You must be signed in to change notification settings

eilrix/sc-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soundcloud parser

Collects all recent tracks from following profiles and makes a playlist.

Install

Node.js v12 or above

npm i soundcloud-following-parser

Create config.json as following:

{
    "email": "your_soundcloud_email",
    "password": "your_password",
    "target": "user-00000000",
    "timeRange": 12960000,
    "concurrency": 4
}

Account (your_soundcloud_email) must have at least one playlist

email

Email from Soundcloud account where playlist will be created. Create some fake account because it may get banned.

password

Password from the account

target

Target Soundcloud account to parse following users

timeRange

Collects tracks in a time range - from now and back on timeRange seconds, 5 months by default (12960000 seconds)

concurrency

Specify number of browser tabs / threads for program to work

Run

npx soundcloud-following-parser

Program will cache collected tracks in ./data/db.json, so next time it will collect only new tracks that were posted after previous run.

Tracks that failed to add into a playlist by some reason (eg. playlist overflow, it can place only 500 tracks) will be cached also and it will try to add them to the end of a new playlist next time.

About

Collects all recent tracks from following profiles and makes a playlist

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published