Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

tests: add geoip to Stealth tests

Karim shoair85885d99627a
diff --git a/tests/fetchers/async/test_camoufox.py b/tests/fetchers/async/test_camoufox.py
index 35c26cc..bca234b 100644
--- a/tests/fetchers/async/test_camoufox.py
+++ b/tests/fetchers/async/test_camoufox.py
@@ -73,6 +73,7 @@ class TestStealthyFetcher:
"extra_headers": {"ayo": ""},
"os_randomize": True,
"disable_ads": True,
+ "geoip": True,
"custom_config": {"keep_comments": False, "keep_cdata": False},
"additional_args": {"window": (1920, 1080)},
},
diff --git a/tests/fetchers/sync/test_camoufox.py b/tests/fetchers/sync/test_camoufox.py
index 5590cff..e0c705e 100644
--- a/tests/fetchers/sync/test_camoufox.py
+++ b/tests/fetchers/sync/test_camoufox.py
@@ -69,6 +69,7 @@ class TestStealthyFetcher:
"extra_headers": {"ayo": ""},
"os_randomize": True,
"disable_ads": True,
+ "geoip": True,
"custom_config": {"keep_comments": False, "keep_cdata": False},
"additional_args": {"window": (1920, 1080)},
},