Search and download any music from freemp3cloud.com
Project description
FreeMp3Cloud Downloader
A lightweight wrapper around FreeMp3Cloud.com to download songs by the given query.
Installation
pip install mp3cloud
Note cURL
should be installed
Usage
CLI
Downloading a song:
python -m mp3cloud "[TRACK_NAME] [ARTIST_NAME]"
Getting all the URLs provided for the query gathered in a .txt
file:
python -m mp3cloud "[TRACK_NAME] [ARTIST_NAME]" --save-urls --no-download
Python programs
Seeing the results of the query:
from mp3cloud import search
songs = search("[TRACK_NAME] [ARTIST_NAME]")
for song in songs:
print(song.name, song.artist, song.url, song.duration, song.is_high_quality)
To download a song:
from mp3cloud.utils import download_song
download_song(songs[0])
Todo
- Setting metadata for the downloaded song
- Filter by quality
- Checking the availablity of cURL
- Add docs for the functions
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
mp3cloud-0.1.1.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file mp3cloud-0.1.1.tar.gz
.
File metadata
- Download URL: mp3cloud-0.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9327a2748962320ad69dcafa5447981005e023c8a20fd028dc62628a298bbb5 |
|
MD5 | 3a7413f3591cfcb139597372bf96aeb6 |
|
BLAKE2b-256 | aeaac631d8e99836a9878524ad16885e88d900f0b7dbc6561199c86c2a89499c |
Provenance
File details
Details for the file mp3cloud-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mp3cloud-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f921478acddee26000ca20a2f8c3f0c798bb3bff03e41c2dbf2fecf9be91019 |
|
MD5 | 5c86fd7ac3aedc3d7ce8eee67c063947 |
|
BLAKE2b-256 | 665daf49b4aa033581ecf6ddc0b42a2074b9a95dc66716e41c303eb7ce76fe2e |