Skip to content

Add option to set locale - LeakWarning #116

Description

@ewwink

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions