I get this warning
LeakWarning: Because you did not pass in a locale region, Camoufox will generate one for you.
This can cause suspicion if your IP does not match your locale region.
To remove LeakWarning Can you add an option to set locale?
or is there other way to set locale?
|
global_bypasser = CamoufoxBypasser(max_retries=5, log=True) |
|
class CamoufoxBypasser: |
|
"""Camoufox bypasser with cookie caching and direct proxy support.""" |
|
|
|
def __init__(self, max_retries: int = 5, log: bool = True, cache_file: str = "cf_cookie_cache.json"): |
|
self.max_retries = max_retries |
|
self.log = log |
|
self.cookie_cache = CookieCache(cache_file) |
I get this warning
To remove
LeakWarningCan you add an option to setlocale?or is there other way to set locale?
CloudflareBypassForScraping/cf_bypasser/server/routes.py
Line 37 in 804451b
CloudflareBypassForScraping/cf_bypasser/core/bypasser.py
Lines 21 to 27 in 804451b