Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed issues in search methods #217

Open
FabioRomagnolo opened this issue Jul 13, 2021 · 1 comment
Open

Speed issues in search methods #217

FabioRomagnolo opened this issue Jul 13, 2021 · 1 comment

Comments

@FabioRomagnolo
Copy link

FabioRomagnolo commented Jul 13, 2021

Hi! I get a lot of delay (up to 10 seconds) when I search for an artist, album or a song. Is it normal?
I take also the first result in order to be faster, but the time it takes is still a lot.

These are examples of slow calls from my code:

self.genius = lyricsgenius.Genius(token, response_format='html')
 
# Example 1
searched_artist = self.genius.search_artist(
                artist_name=artist_name, max_songs=1, sort='popularity',
                per_page=1, get_full_info=False, allow_name_change=True)
 
# Example 2
searched_album = self.genius.search_album(
                artist=artist_name, name=album_name, get_full_info=False)
 
# Example 3
searched_track = self.genius.search_song(
                artist=artist_name, title=track_name, get_full_info=False)
@derplayer
Copy link

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants