elmoiv / azapi

Get Lyrics from AZLyrics.com like a Boss ~(0_0)~

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxy is not used

SimonIT opened this issue · comments

Your get method has a parameter for setting the proxy for the request:

def get(self, url, _proxies={}):

But you don't pass the proxy defined in the AZlyrics class to the method:

page = self.get(link)

albums_page = self.get(link)

azapi/azapi/tools.py

Lines 51 to 55 in 8f3d44b

google_page = get_func('{}{}+site%3Aazlyrics.com'.format(
search_engines[slctd_srch_engn],
encoded_data
)
)

Thanks for pointing this bug out.
I will fix it ASAP.

Updated the missing code.
Try to pip install azapi==3.0.6 and please confirm if your issue was solved.

I suppose it's fixed. I hadn't an issue with it but an user of spotifylyrics had it probably