Skip to content

A command line tool to scrape album cover from apple music preview page.

Notifications You must be signed in to change notification settings

etigerstudio/apple-music-cover-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 Music Cover Scraper npm version

apple-music-cover-scraper hero image

Ever been frustrated by low-resolution, over-compressed, distorted album cover of your favorite track in your music library? Obtain comparatively clear, briliant, original cover image from Apple Music catalog preview page using this scraper.

Installing

This scraper is distributed on NPM. Type this one-line command to install the scraper:

$ npm i -g apple-music-cover-scraper

Usage

The main executable is linked as am_scraper:

$ am_scraper [<-s|--size> <size>] [-v|--version] [-h|--help] url [file name]

The required url denotes the url to the apple music preview web page.

The optional file name specifies the file name to save the cover as. Default: the album title.

The optional size sets the expected size(width in pixel) of the cover. Default: 800.

Use version switch to query the version installed.

Use help switch to print help infomation.

Examples

Scrape the cover of Flux from CN server & save as Flux - Single.jpg(Using original album title):

$ am_scraper https://itunes.apple.com/cn/album/flux-single/1453562770

Scrape the cover of Flux in width of 1024 px from US server & save as cover.jpg:

$ am_scraper -s 1024 https://itunes.apple.com/us/album/flux-single/1453562770 cover.jpg

Notes

Preview pages of certain Apple Music servers may not be accessible in certain countries or regions. For example, preview pages of US server is not available in mainland China.

Disclaimer

This projected is not affiliated with Apple Music in any way. Apple Music is a trademark of Apple Inc.

Brought to you with ❤️ by E-Tiger Studio 2019.

About

A command line tool to scrape album cover from apple music preview page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published