In your name variable you will get all div which have class named "main", then in your for loop you are currently looping through the collected div's, but you need to access the div's inside those div's(class : main)
so add a nested loop like:
for div in name:
innerDivs= div.find_all("div")
for idiv in innerDivs:
print(idiv.get_text(strip=True).encode("utf-8"))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…