-
Notifications
You must be signed in to change notification settings - Fork 23
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
IndexError: list index out of range #7
Comments
Hi @stereonov |
I have replace the lyricpass.py with the updated, this time scan almost 100 songs than 642 but still get this: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
It looks like a DNS lookup failed (socket.gaierror: [Errno -2] Name or service not known). |
You might need to do |
Here is what I did:
`python3 ./lyricpass.py -a Taylor+Swift During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Did I do something wrong? |
Update: Your last update is worked and successfully generate files raw and wordlist with an artist which has 150 songs. When an artist has more songs like Taylor swift (642) then I get the error which appear at my previous comment. |
Sorry you're still having issues. I can confirm the tool works for artists with more songs. Your error is related to a failed DNS lookup, so is due to something other than the Python script.
|
Thank you so much for help. |
If you are using Ubuntu, you can try this:
And try again. Don't forget to delete that line out of hosts when you are all done, as the address for the website may change later. Hope this helps! |
Ok I will, thanks in advance!!! |
Yeap worked! Thank you so much again, you are amazing! |
I'm glad I could help! |
Hi, I try to use your py script but I get the following error:
$ python3 ./lyricpass.py -a eminem
[+] Looking up artist eminem [+] Found 1558 songs for artists eminem Traceback (most recent call last): File "./lyricpass.py", line 239, in <module> main() File "./lyricpass.py", line 221, in main raw_words.update(scrape_lyrics(url_list)) File "./lyricpass.py", line 190, in scrape_lyrics lyrics = re.findall(regex, html)[0] IndexError: list index out of range
P.S: I also try 'lyricpass-2019-rewrite' but I get exactly the same issue.
Is this still working?
Thanks in advance!
The text was updated successfully, but these errors were encountered: