You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
When going to the url: https://www.azlyrics.com/b/bangtanboys.html
we can see how songs have been chopped off in the print statement when compared to the actual list of songs on AZlyrics.com.
I believe this issue has to do the the ParseSongs() method in tools.py.
AZlyrics seems to include google adds in one under a certain div tag and I think this is causing early termination possibly.
Screenshots
Desktop (please complete the following information):
Using macOS Majove
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I tested azapi and I found that in tools.py inside ParseSongs function, I wrote this within the main loop over listAlbum items:
...
ifelmnt.name=='script':
break
...
And because AZLyrics.com updated their website with new Google Ads mechanism which now exists between songs under listAlbum dev and uses a script tag, the loop terminates itself when facing the first Google Ad causing many songs not to be included.
Describe the bug
getSongs() fails to retrieve all songs from an artist
To Reproduce
printed json
Expected behavior
When going to the url: https://www.azlyrics.com/b/bangtanboys.html
we can see how songs have been chopped off in the print statement when compared to the actual list of songs on AZlyrics.com.
I believe this issue has to do the the ParseSongs() method in tools.py.
AZlyrics seems to include google adds in one under a certain div tag and I think this is causing early termination possibly.
Screenshots
Desktop (please complete the following information):
Using macOS Majove
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: