Goodafternoon, for a university python project I need to estract a table from a website, but the link doesn't exist, so i need that my cycle ignore that link, and move to the next link. how can I do that?
i'm using the python language to create a dataset of soundtrack. I used BeautifulSoup to extract the .html, but the link docent exist, so i think about putting a
if type(link)=="NoneType":
but it doesn't work. link is the result of soup.find that gave me as a result nothing, infant type(link) give me as a result NoneType. what can i do to recognise the inexistent link? thank you for the help