Skip to content

Commit

Permalink
Merge pull request #5 from jaris58/v2.2.0
Browse files Browse the repository at this point in the history
V2.2.0
  • Loading branch information
jaris58 authored Apr 7, 2021
2 parents f931642 + 885e736 commit f24fcae
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 59 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.0] - 2021-04-07

### Added

- add force option to force re-download file
- add folder path while loading / download file
- login support with facebook

### Fixed

- fix song with same name but diferent file
- fix re-download file if broken / un-complete file
- fix artist name if more than one
- fix generate config file if not exist
- fix configparser.NoOptionError

## [2.1.1] - 2021-04-05

### Added
Expand Down
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ pip install -r requirements.txt
> ```config
> [app]
> music_folder=music/
>
>
> [login]
> authtype=2
> email=[your-email]
> password=[your-password]
> wxopenid=[your-wxopenid]
> access_token=[your-access_token]
> ```
## Usage
### Python 3
```usage python
usage: joox_dl.py [-h] [-u URL] [-m] [-hq]
usage: joox_dl.py [-h] [-u URL] [-m] [-hq] [-f]
```
### Windows (CMD)
```usage windows
usage: joox_dl.exe [-h] [-u URL] [-m] [-hq]
usage: joox_dl.exe [-h] [-u URL] [-m] [-hq] [-f]
```
### Example
```example
Expand All @@ -53,26 +56,28 @@ python joox_dl.py -m -u https://www.joox.com/id/chart/36
## Optional Arguments
```optar
-h, --help show this help message and exit
-u URL, --url URL url String
-m, --m4a m4a Type
-hq, --highquality high quality
-u URL, --url URL Url String
-m, --m4a M4A file type
-hq, --highquality High quality
-f, --force Force to re-download
```

## Change log
> ## [2.1.1] - 2021-04-05
> ## [2.2.0] - 2021-04-07
>
> ### Added
>
> - add login.email in config
> - add force option to force re-download file
> - add folder path while loading / download file
>
> ### Fixed
>
> - fix [#3](https://github.com/jaris58/joox_dl/issues/3#issue-849974043) : Invalid cookie
>
> ### Removed
>
> - remove login.wxopenid in config
> - fix song with same name but diferent file
> - fix re-download file if broken / un-complete file
> - fix artist name if more than one
> - fix generate config file if not exist
> - fix configparser.NoOptionError
[Full Change Log](https://github.com/jaris58/joox_dl/blob/master/CHANGELOG.md)
## License
Expand Down
12 changes: 12 additions & 0 deletions data_files/joox_dl.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[app]
music_folder=music/

[login]
; authtype option :
; [1] for facebook login, wxopenid and access_token must be configured
; [2] for email login, email and password must be configured (default)
authtype=2
email=[your-email]
password=[your-password]
wxopenid=[your-wxopenid]
access_token=[your-access_token]
8 changes: 7 additions & 1 deletion joox_dl.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,11 @@
music_folder=music/

[login]
; authtype option :
; [1] for facebook login, wxopenid and access_token must be configured
; [2] for email login, email and password must be configured (default)
authtype=2
email=[your-email]
password=[your-password]
password=[your-password]
wxopenid=[your-wxopenid]
access_token=[your-access_token]
Loading

0 comments on commit f24fcae

Please sign in to comment.