Skip to content

Releases: etienne-hd/lbc

1.1.2

05 Jan 17:35

Choose a tag to compare

Changed

  • mv src/lbc to . and removed src
  • Proxy handling, you can now remove proxy using client.proxy = None
  • client._session is now public -> client.session

Added

1.1.1

28 Dec 14:58

Choose a tag to compare

Added

  • Optional scheme attribute on the Proxy dataclass, allowing custom proxy URL schemes (#7)

1.1.0

24 Dec 15:05

Choose a tag to compare

Changed

  • Project structure reorganized: features such as search, user, and ad are now separated using mixins.

Added

  • Realistic dynamic mobile User-Agent generation.

1.0.10

11 Oct 11:55

Choose a tag to compare

Fix

  • KeyError when using shippable=True (#5)

1.0.9

20 Aug 17:47

Choose a tag to compare

Fix

  • Fixed SSL verification issue during Leboncoin cookie initialization.

1.0.8

20 Aug 14:58

Choose a tag to compare

Added

  • max_retries and timeout parameters to Client.
  • NotFoundError exception raised when an ad or user is not found.

1.0.7

06 Jul 17:08

Choose a tag to compare

Added

  • Automatic rotation of browser impersonation when impersonate argument in Client is set to None.
  • Ability to choose which browser to impersonate via the impersonate argument in Client.
  • Option to disable SSL verification for requests by setting request_verify to False in Client.

1.0.6

01 Jul 12:22

Choose a tag to compare

Fixed

  • "Unknown location type" error when searching with a URL containing a zipcode.

1.0.5

27 Jun 17:46

Choose a tag to compare

Fixed

  • 404 error when fetching a pro user who doesn't have a public page

1.0.4

26 Jun 21:40

Choose a tag to compare

Added

  • A lot of new user information can be retrieved (feedback, badges & professional info).
  • New examples directory with practical usage cases.
  • get_ad function to retrieve ad information.
  • get_user function 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 Client creation via client.proxy = ....
  • The session can also be changed dynamically via client.session = ....

Removed

  • Removed the test/ folder (migrated to examples/).