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

All download/progress lost, when crashing while running the genius.search_artist()-Function. #250

Open
Tr33Bug opened this issue Dec 2, 2022 · 1 comment

Comments

@Tr33Bug
Copy link

Tr33Bug commented Dec 2, 2022

Describe the bug
Write a clear and concise description of what the bug is.

Expected behavior
When the function crashes, I expect to get the fully downloaded lyric files for the artists, witch are completed to the state of crashing.

To Reproduce
My Setup is:
I want to download the top 50 lyrics from a list of 100 Artists. Often the function crashes for example at song 20 and all the progress for this artist is lost. After the crash, the return of the function is none.

Version info

  • Package version: 3.0.1
  • OS: macOS m1 (python 3.9)

Additional context
I have a workaround with a loop to repeat on crash and try every artist max. 10 times. Works for now, but not nice :)

THX for the great library, by the way. Enjoy using it!

if you want to see my use in the project, look over to https://github.com/Tr33Bug/ML-NLP-LyricsGen-Transformer

@RyanCaldwell360
Copy link

@Tr33Bug were you running into requests.exceptions.Timeout: Request timed out errors upon calls to genius.search_artist ? I'm creating a little program that is running into this issue, but not sure how to properly address it

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