Skip to content

[ENH] Automatically extend listings before expiration #664

@john-pierre

Description

@john-pierre

😕 Addressed Problem

When using the bot to manage many small listings, the 100 free ads per month limit on Kleinanzeigen quickly becomes an issue.

After 60 days, listings automatically expire. Republishing them counts as new ads, which consumes the monthly quota.

However, Kleinanzeigen offers an option to extend listings before they expire, this doesn’t consume any new quota, but currently has to be done manually.

This means users with many listings either lose visibility after expiration or have to waste their monthly quota on republishing.

💡 Suggested Solution

Add a feature to automatically extend active listings that are close to expiration.

Configuration proposal

auto_extend:
  enabled: true
  days_before_expiry: 5

CLI usage example

kleinanzeigen-bot extend --all
kleinanzeigen-bot extend --ids 12345,67890

🔎 Alternatives

Manually extend listings on the Kleinanzeigen website (very time-consuming if you have many items).

Republish expired ads via the bot (counts as new ads and consumes the free monthly quota).

Use a cron job to remind the user, but still require manual interaction, not ideal.

🗺️ Additional Context

Kleinanzeigen allows extending listings shortly before they expire, without consuming new ad slots.

Automating this within the bot would help heavy users keep all ads active and visible, without hitting monthly limits.

The feature could be optional and controlled via the YAML config or CLI flags.

This improvement fits perfectly into the bot’s automation goal

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions