elmoiv / azapi

Get Lyrics from AZLyrics.com like a Boss ~(0_0)~
GNU General Public License v3.0
121 stars 12 forks source link

Addeds retry functionality if "normal" get fails #16

Closed FreeWillyB closed 3 years ago

FreeWillyB commented 3 years ago

If the user doesn't set the search engine and their request fails, I set the search engine to be "google" and recall the "getLyrics" method and store the output in a local variable. After that method runs, the search engine is set back to default and the output from that method that was stored in the local variable is return to the original caller.

FreeWillyB commented 3 years ago

Closed due to conflicts. Resubmitted with updated branch in a separate PR.