for i in soup.find("ul",attrs={"class":"clearfix"}): for durum in i.find_all(\'li\'): print(durum)
I wan