Reverse config.py; formatting

This commit is contained in:
vitiko98
2020-12-07 11:32:37 -04:00
parent 7bb366ae72
commit 5eaabfc55b
8 changed files with 103 additions and 72 deletions
+11 -12
View File
@@ -27,20 +27,19 @@ pip3 install -r requirements.txt --user
pip3 install windows-curses
pip3 install -r requirements.txt
```
#### Add your credentials to a `.env` file
```none
QOBUZ_EMAIL=your@email.com
QOBUZ_PW=your_password
#### Add your credentials to `config.py` file
```python
email = "your@email.com"
password = "your_password"
```
NB: The .env file should be in the root folder, where main.py and config.py are located.
In addition to your credentials, you can also use the `.env` file to
change other default values by means of the following environment variables:
- `QOBUZ_FOLDER` (location of the download folder)
- `QOBUZ_LIMIT` (results limit)
- `QOBUZ_QUALITY` (default quality for url input mode)
In addition to your credentials, you can also use the `config.py` file to
change other default values:
```python
default_folder = "Qobuz Downloads"
default_limit = 10
default_quality = 6
```
#### Run qobuz-dl
##### Linux / MAC OS