import requests

url = "https://www.instagram.com/p/DVOazPSjJQm/embed/"
headers = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}
res = requests.get(url, headers=headers)
with open("test_embed_http.html", "w", encoding="utf-8") as f:
    f.write(res.text)
print("Dumped to test_embed_http.html")
