Install NeteaseCloudMusicApi:
git clone [email protected]:Binaryify/NeteaseCloudMusicApi.git
cd NeteaseCloudMusicApi
yarn
Install DownloadNeteaseMusic:
git clone [email protected]:lcc19941214/DownloadNeteaseMusic.git
cd DownloadNeteaseMusic
yarn
Run Api Service:
cd NeteaseCloudMusicApi
yarn start
To download songs:
cd DownloadNeteaseMusic
yarn start
To dry run:
cd DownloadNeteaseMusic
yarn run dryrun
Just run yarn run example
.
yarn start --concurrency=5 \
--sourceFilename="./example/data.txt" \
--divider='\t' \
--outDir="./download" \
--dryrun
-
concurrency?: number
- Number of the songs when download in parallel. Defaults to5
. -
sourceFilename?: string
- File includes the source. Seesource
for example.Notice: at least one of
sourceFilename
andsource
should be specified. -
source?: string
- Inline source. For example:我和我的祖国 殷秀梅 坚守 金婷婷 我的九寨 泽尓丹
-
divider?: string
- Divider to separate name and author. SupportRegexp
pattern. Defaults to'\t'
. -
outDir: string
- Directory to store the songs. -
dryrun?: boolean
- Whether the program should dry run or not.