a simple music Downloader for a few websites.
Go to file
2021-12-30 19:08:53 -06:00
scripts Changed more files to adapt to the new hosting provider 2021-01-19 15:57:27 -06:00
src Try to generate an installer and a 64 bits version 2021-12-30 18:50:42 -06:00
windows-dependencies Added windows dependencies for 32 and 64 bits 2021-09-24 16:13:38 -05:00
.gitignore Modified gitignore file 2018-04-13 08:26:58 -05:00
.gitlab-ci.yml Call installer.nsi by using the right path 2021-12-30 19:08:53 -06:00
changes.md Updated changelog 2020-12-29 06:57:08 -06:00
LICENSE Changed license type 2018-06-22 08:36:12 -05:00
README.md Added instructions to deal with translation catalogs 2020-07-23 06:07:54 -05:00
requirements.txt Install tidalapi from pip; added sound_lib as a dependency; remove libVLC module from requirements file 2021-09-22 17:21:03 -05:00

music-dl

pipeline status

coverage report

MusicDL is an app for downloading music directly from services like Youtube, zaycev.net, mail.ru and others. I made it for practicing a few skills I have learnt about scraping the web and tools like python's beautifulsoup library, plus all of the new stuff provided with Python 3. More info in this blog post

Visit the project's website

Requirements

See the requirements.txt, located in the root of this repository. Additionally, take into account the following.

running

Run the file main.py, located in the src directory.

Building

I have provided a setup.py file for cx_freeze, so you should be able to do something like:

python setup.py build

And start building. Check the dist folder for results.

Updating translation catalog

Every time there are new strings in the application a translations catalog update must be performed with the following commands in the src directory:

python setup.py extract_messages -o musicdl.pot --msgid-bugs-address "manuel@manuelcortez.net" --copyright-holder "Manuel Cortez" --input-dirs . python setup.py update_catalog --input-file musicdl.pot --domain musicdl --output-dir locales --ignore-obsolete true

And after updating translations they should be compiled with:

python setup.py compile_catalog --statistics -d locales --domain musicdl

Adding new translations

The procedure for adding new translations is also easy, thanks to the following command. Just replace xx for the new locale name to add:

python setup.py extract_messages -o musicdl.pot --msgid-bugs-address "manuel@manuelcortez.net" --copyright-holder "Copyright (C) 2019, 2020 Manuel Cortez" --input-dirs .
python setup.py init_catalog --domain musicdl --input-file musicdl.pot -d locales --locale xx