From 9e1ea6d938dc3cec0d95af819edafd90ae67b935 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 13 Mar 2026 21:31:18 +0100 Subject: [PATCH] disable safesearch --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 238be09..440c83b 100644 --- a/app.py +++ b/app.py @@ -28,7 +28,9 @@ def scrape_images(query, page=0): "first": str(page * 35), "count": "35", "mmasync": "1", + "adlt": "off", }, + cookies={"SRCHHPGUSR": "ADLT=OFF"}, headers=get_headers(), timeout=10, )