disable safesearch

This commit is contained in:
Johannes
2026-03-13 21:31:18 +01:00
parent 57038cf77f
commit 9e1ea6d938

2
app.py
View File

@@ -28,7 +28,9 @@ def scrape_images(query, page=0):
"first": str(page * 35), "first": str(page * 35),
"count": "35", "count": "35",
"mmasync": "1", "mmasync": "1",
"adlt": "off",
}, },
cookies={"SRCHHPGUSR": "ADLT=OFF"},
headers=get_headers(), headers=get_headers(),
timeout=10, timeout=10,
) )