disable safesearch
This commit is contained in:
2
app.py
2
app.py
@@ -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,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user