Skip to main content

Scrape an artist from SoundCloud

Project description

SoundScrape!

SoundScrape!

SoundScrape Build Status Python 3 PyPI

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

Note that if you are having problems, please first try updating to the latest version:

pip install soundscrape --upgrade

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

Keep Preview Tracks

By default, SoundScrape will skip the 30-second preview tracks that SoundCloud now provides. You can choose to keep these preview snippets with the -k argument.

soundscrape chromeo -k

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

This also works for non-Bandcamp URLs that are hosted on Bandcamp:

soundscrape -b http://music.monstercat.com/

Note that the full URL must be included.

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, SoundScrape can also download individual songs from Audiomack. Not that you’d ever want to.

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

MusicBed

For some strange reason, it also works for MusicBed.com. Thanks @brachna for this feature.

soundscrape https://www.musicbed.com/albums/be-still/2828

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.31.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

soundscrape-0.31.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: soundscrape-0.31.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for soundscrape-0.31.0.tar.gz
Algorithm Hash digest
SHA256 155ab9fb5586ef723cd4e1b8298487d9041bf5ee1631cd0722e48139c43baaa0
MD5 08fdba5c67ed29a6dd22f040b4478b7b
BLAKE2b-256 1d5a8e136d7a83b61cf4d7c41218d1b49f1c36226374b8d7ce1061145bf0ed49

See more details on using hashes here.

File details

Details for the file soundscrape-0.31.0-py3-none-any.whl.

File metadata

File hashes

Hashes for soundscrape-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50088dc53d67c7cd04f860f67ad231cd1873b85d6a6bb6bdd3bb3b56670d29bf
MD5 d1dd73d9f58c286004f085fcac983c99
BLAKE2b-256 766ac99345e112b9e68b9075ab0011629709508e4dc2da00160da7b4bc350c88

See more details on using hashes here.

Supported by

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