Skip to content

Commit

Permalink
Updated to v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
elmoiv authored Jul 25, 2020
1 parent a95ab1a commit 5c56c03
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,17 @@ API = azapi.AZlyrics('google', accuracy=0.5)
API.artist = 'Tylor Swft'
API.title = 'Bad Blods'

print(API.getLyrics())
API.getLyrics(save=True, ext='lrc')

print(API.lyrics)
```
## Changelog

### v3.0.2 25-07-2020
* Added the ability to use custom path with `getLyrics`.
* Added `self.lyrics` and `self.songs` to store last call.
* Added `self.lyrics_history` that stores all fetched lyrics.

### v3.0.1 07-07-2020
* Fixed single albums return relative urls.

Expand All @@ -62,15 +69,16 @@ print(API.getLyrics())
Here are a few sample tests:

* [Getting lyrics](https://github.com/elmoiv/azapi/tree/master/tests/test1.py)
* [Getting lyrics (Custom Path)](https://github.com/elmoiv/azapi/tree/master/tests/test7.py)
* [Getting songs list](https://github.com/elmoiv/azapi/tree/master/tests/test2.py)
* [Downloading lyrics from a list](https://github.com/elmoiv/azapi/tree/master/tests/test3.py)
* [Get Lyrics by title only](https://github.com/elmoiv/azapi/tree/master/tests/test4.py)
* [Using search engine with titles](https://github.com/elmoiv/azapi/tree/master/tests/test5.py)
* [Using search engine with mistyped title and artist](https://github.com/elmoiv/azapi/tree/master/tests/test6.py)

*It is adviced not to send too many requests to avoid IP ban by search engines
**It is adviced not to send too many requests to avoid IP ban by search engines.*

**Proxy is set by the user, defult is empty.
***Proxy is set by the user, defult is empty.*

## Contributing
Please contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just [open an issue](https://github.com/elmoiv/azapi/issues) or send me a pull request.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="azapi",
version="3.0.1",
version="3.0.2",
author="elmoiv",
author_email="[email protected]",
description="Get Lyrics from AZLyrics.com like a Boss ~(0_0)~",
Expand Down

0 comments on commit 5c56c03

Please sign in to comment.