ZSpotify是一个只需Python解释器和ffmpeg即可使用的Spotify音乐下载器,使用者可以根据自己的需求下载mp3格式或者ogg格式。
命令行使用
Basiccommandlineusage:pythonzspotify<track/album/playlist/episode/artisturl>Downloadsthetrack,album,playlistorpodcastepisodespecifiedasacommandlineargument.Ifanartisturlisgiven,allalbumsbyspecifiedartistwillbedownloaded.Cantakemultipleurls.Extracommandlineoptions:-p,--playlistDownloadsasavedplaylistfromyouraccount-ls,--liked-songsDownloadsallthelikedsongsfromyouraccount-s,--searchLoadssearchprompttofindthendownloadaspecifictrack,albumorplaylist-ns,--no-splashSuppressthesplashscreenwhenloading.Optionsthatcanbeconfiguredinzs_config.json:ROOT_PATHChangethispathifyoudon'tlikethedefaultdirectorywhereZSpotifysavesthemusicROOT_PODCAST_PATHChangethispathifyoudon'tlikethedefaultdirectorywhereZSpotifysavesthepodcastsSKIP_EXISTING_FILESSetthistofalseifyouwantZSpotifytooverwritefileswiththesamenameratherthanskippingthesongMUSIC_FORMATCanbe"mp3"or"ogg",mp3isrequiredfortrackmetadatahoweveroggisslightlyhigherqualityasitisnottranscoded.FORCE_PREMIUMSetthistotrueifZSpotifyisn'tautomaticallydetectingthatyouareusingapremiumaccountANTI_BAN_WAIT_TIMEChangethissettingifthetimewaitedbetweenbulkdownloadsistoohighorlowOVERRIDE_AUTO_WAITChangethistotrueifyouwanttocompletelydisablethewaitbetweensongsforfasterdownloadswiththeriskofinstability
评论