fix: set impersonate to chrome_android in utils

This commit is contained in:
etienne-hd
2025-12-28 15:53:47 +01:00
parent 48b83c0c9d
commit e8cb0a9f5d
3 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ def print_region(region_data: dict) -> None:
print(f'{name} = ("{region_data['rId']}", "{name}")')
def main() -> None:
client = lbc.Client()
client = lbc.Client(impersonate="chrome_android")
body = client._fetch(method="GET", url="https://api.leboncoin.fr/api/frontend/v1/data/v7/fdata")
for region in body["regions"]: