You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 months ago | |
---|---|---|
archiveorg_dl | 4 years ago | |
README.md | 4 years ago | |
setup.cfg | 2 months ago | |
setup.py | 4 years ago |
README.md
An archive.org dowloader using python and async for maximum performance.
Installation
archiveorg-dl requires python >= 3.6 to work:
pip install git+https://dev.funkwhale.audio/funkwhale/archiveorg-dl.git
Usage
# print help
archiveorg-dl --help
# download all original mp3 and ogg files from the freemusicarchive collection to /destination
archiveorg-dl download "collection:freemusicarchive AND mediatype:audio" /destination --original -e mp3 -e ogg
Download queries
The download
command query argument is passed directly to archive.org. Refer
to the corresponding documentation to craft your own queries.
Mirroring the Free Music Archive
This CLI was initially written to mirror the Free Music Archive collection. If you want to do that, we recommend adding "jpg" to the list of downloaded extensions, to ensure you have album covers:
archiveorg-dl download "collection:freemusicarchive AND mediatype:audio" /destination --original -e mp3 -e ogg -e jpg
You can run the following command afterward to ensure all covers are named cover.jpg
:
find data/music/ -iname "*.jpg" -execdir cp \{} cover.jpg \;