Ritiek Malhotra
29b1f31a26
Fix tests
2020-05-18 18:00:09 +05:30
Ritiek Malhotra
64d54d7943
Retry a few times if Genius returns an invalid response
2020-05-18 17:50:01 +05:30
Ritiek Malhotra
85c12a91ef
Call debug statements when fetching lyrics
2020-05-18 16:28:10 +05:30
Ritiek Malhotra
39ebd5f57e
Fix tests
2020-05-15 15:00:51 +05:30
Ritiek Malhotra
c9bf0bc020
De-clutter metadata search
2020-05-07 19:36:38 +05:30
Ritiek Malhotra
f24c026ae4
Improve Genius lyrics stability
...
Sometimes the first result in the Genius API response may not contain
the path to lyrics. In such cases, keep iterating on the next
result until the path is found.
2020-04-21 18:56:46 +05:30
Ritiek Malhotra
164f342262
Lyric optimizations
2020-04-13 03:19:14 +05:30
Ritiek Malhotra
47247f7250
Add additional methods to fetch lyrics
...
The following inputs can now be used to fetch lyrics:
* artist and track names
* search query
* direct url
2020-04-08 21:43:58 +05:30
Ritiek Malhotra
121fcdcdf6
Authenticating services
2020-04-02 04:14:07 +05:30
Ritiek Malhotra
68c25e2aaa
Write tests for YouTube metadata
2020-03-27 04:33:00 +05:30
Ritiek Malhotra
7413c541d3
Decouple fetching metadata
2020-03-22 21:44:04 +05:30
Ritiek Malhotra
dae76a0abb
Add tests for encoders
...
and some refactoring
2020-03-17 17:58:44 +05:30
Ritiek Malhotra
29005f24ed
Refactor exceptions
...
* Suffix names for custom exceptions with "Error"
* Introduce exceptions for when the coressponding encoder isn't found
2020-03-17 03:09:56 +05:30
Ritiek Malhotra
c73f55b8ce
Fix crash when lyrics not yet released on Genius
...
There are some tracks on Genius whose lyrics are yet to be released.
When the tool previously attempted to scrape such webpages, it
resulted in a crash.
The tool will now raise an exception; LyricNotFoundError when such a
track is encountered, which is then handled internally by the tool.
Example of one such track on Genius:
https://genius.com/The-federal-empire-good-man-lyrics
Fixes #647 .
2020-01-10 15:33:02 +05:30
py-coder
0202c65110
Added leading zeros in track_number.Fixed issue #592
2019-08-01 10:17:24 +05:45
Ritiek Malhotra
5bcacf01da
Fallback to LyricWikia if lyrics not found on Genius
2019-07-24 10:56:04 +05:30
Ritiek Malhotra
0d846cdcce
Scrape lyrics from Genius and lyrics refactor
2019-07-22 15:55:05 +05:30