1
How do i use BS4 and python? (ERROR)
AzureScripts (130)

I am trying to find a song title using genius

https://genius.com/search?q=Wrecking%20ball it grabs the "top result" and looks for the name by doing

soup.find('div', {"class": "mini_card-title"})
but it returns None?

You are viewing a single comment. View All
1
CBlockSurprise (16)

Maybe you have to use encodeURI() on the song name? But I don't know what it is in python