mirror of
https://github.com/etienne-hd/lbc.git
synced 2025-12-05 09:08:10 +01:00
1.9 KiB
1.9 KiB
1.0.10
Fix
- KeyError when using shippable=True (#5)
1.0.9
Fix
- Fixed SSL verification issue during Leboncoin cookie initialization.
1.0.8
Added
max_retriesandtimeoutparameters toClient.NotFoundErrorexception raised when an ad or user is not found.
1.0.7
Added
- Automatic rotation of browser impersonation when
impersonateargument inClientis set to None. - Ability to choose which browser to impersonate via the
impersonateargument inClient. - Option to disable SSL verification for requests by setting
request_verifytoFalseinClient.
1.0.6
Fixed
- "Unknown location type" error when searching with a URL containing a zipcode.
1.0.5
Fixed
- 404 error when fetching a pro user who doesn't have a public page
1.0.4
Added
- A lot of new user information can be retrieved (feedback, badges & professional info).
- New examples directory with practical usage cases.
get_adfunction to retrieve ad information.get_userfunction to retrieve user information (with pro info such as siret).- Automatic cookies initialization during session setup to prevent HTTP 403 errors.
Changed
- Codebase refactored: models are now split by functionality (e.g., all user dataclasses are in
user.py). - Proxies can now be updated after
Clientcreation viaclient.proxy = .... - The session can also be changed dynamically via
client.session = ....
Removed
- Removed the
test/folder (migrated toexamples/).
1.0.3
Fixed
- Incorrect raw data extraction for location and owner in
Search.buildfunction
1.0.2
Added
- Support for full Leboncoin URL in
client.search(url=...) - New
shippableargument in thesearchfunction
Fixed
- Incorrect enum key assignment in the
build_search_payload_with_argsfunction
1.0.1
Added
- Realistic
Sec-Fetch-*headers to prevent 403 errors
1.0.0
- Initial release