import pandas as pddf = pd.read_html("nos_deuils.html")[0]df.to_excel("deuils.xlsx", index=False)