GithubHelp home page GithubHelp logo

apple-music-cover-scraper's Introduction

 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.

apple-music-cover-scraper's People

Contributors

dependabot[bot] avatar etigerstudio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apple-music-cover-scraper's Issues

Issue with split method

image
Hi! I'm running into the following issue on an M1 Macbook. Do you have any ideas on how to solve it or how I can debug locally?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.