Sup ke file html

with open("output1.html", "w") as file:
    file.write(str(soup))
Fair Fowl