Skip to main content

Scrape an artist from SoundCloud

Project description

SoundScrape!

SoundScrape!

SoundScrape Build Status PyPI Python 2 Python 3

SoundScrape makes it super easy to download artists from SoundCloud (and Bandcamp and MixCloud) - even those which don’t have download links! It automatically creates ID3 tags as well (including album art), which is handy.

Usage

First, install it:

pip install soundscrape

Then, just call soundscrape and the name of the artist you want to scrape:

soundscrape rabbit-i-am

And you’re done! Hooray! Files are stored as mp3s in the format Artist name - Track title.mp3.

You can also use the -n argument to only download a certain number of songs.

soundscrape rabbit-i-am -n 3

Sets

Soundscrape can also download sets, but you have to include the full URL of the set you want to download:

soundscrape https://soundcloud.com/vsauce-awesome/sets/awesome

Groups

Soundscrape can also download tracks from SoundCloud groups with the -g argument.

soundscrape chopped-and-screwed -gn 2

Tracks

Soundscrape can also download specific tracks with -t:

soundscrape foolsgoldrecs -t danny-brown-dip

or with just the straight URL:

soundscrape https://soundcloud.com/foolsgoldrecs/danny-brown-dip

Likes

Soundscrape can also download all of an Artist’s Liked items with -l:

soundscrape troyboi -l

or with just the straight URL:

soundscrape https://soundcloud.com/troyboi/likes

High-Quality Downloads Only

By default, SoundScrape will try to rip everything it can. However, if you only want to download tracks that have an official download available (which are typically at a higher-quality 320kbps bitrate), you can use the -d argument.

soundscrape sly-dogg -d

Folders

By default, SoundScrape aims to act like wget, downloading in place in the current directory. With the -f argument, however, SoundScrape acts more like a download manager and sorts songs into the following format:

./ARTIST_NAME - ALBUM_NAME/SONG_NUMBER - SONG_TITLE.mp3

It will also skip previously downloaded tracks.

soundscrape murdercitydevils -f

Bandcamp

SoundScrape can also pull down albums from Bandcamp. For Bandcamp pages, use the -b argument along with an artist’s username or a specific URL. It only downloads one album at a time. This works with all of the other arguments, except -d as Bandcamp streams only come at one bitrate, as far as I can tell.

Note: Currently, when using the -n argument, the limit is evaluated for each album separately.

soundscrape warsaw -b -f

Mixcloud

SoundScrape can also grab mixes from Mixcloud. This feature is extremely expermental and is in no way guaranteed to work!

Finds the original mp3 of a mix and grabs that (with tags and album art) if it can, or else just gets the raw m4a stream.

Mixcloud currently only takes an invidiual mix. Capacity for a whole artist’s profile due shortly.

soundscrape https://www.mixcloud.com/corenewsuploads/flume-essential-mix-2015-10-03/ -of

Audiomack

Just for fun, SoundCloud can also download individual songs from Audiomack. Not that you’d ever want to.

soundscrape -a http://www.audiomack.com/song/bottomfeedermusic/top-shottas

Opening Files

As a convenience method, SoundScrape can automatically ‘open’ files that it downloads. This uses your system’s ‘open’ command for file associations.

soundscrape lorn -of

Issues

There’s probably a lot more that can be done to improve this. Please file issues if you find them!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

soundscrape-0.23.7.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

soundscrape-0.23.7-py2-none-any.whl (12.9 kB view details)

Uploaded Python 2

File details

Details for the file soundscrape-0.23.7.tar.gz.

File metadata

  • Download URL: soundscrape-0.23.7.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for soundscrape-0.23.7.tar.gz
Algorithm Hash digest
SHA256 d74759e3153c2062f7f7e48627c51feea913cb32a464ca4c6246d2cff6295994
MD5 05481d515151adf133428702e6cff74a
BLAKE2b-256 a9056e8b72e132125d7d7f46ec5732ca01884a7418e4ca06c15e2430f684620a

See more details on using hashes here.

File details

Details for the file soundscrape-0.23.7-py2-none-any.whl.

File metadata

File hashes

Hashes for soundscrape-0.23.7-py2-none-any.whl
Algorithm Hash digest
SHA256 7b46153af00042b0dc7b33c6003519e15ea4fd9b01e349a8de50dc9e8e22275a
MD5 5fd0c310b8124850389ac7cefc3cfedc
BLAKE2b-256 78987dc12e967ace0cd98badfa574017ce17dc76f753314c29ed4143f4c744bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page