Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for some article that have mandatory fields in ad.yaml #213

Closed
ilyaZar opened this issue Oct 8, 2023 · 1 comment
Closed

Comments

@ilyaZar
Copy link

ilyaZar commented Oct 8, 2023

For "Wanderschuhe" we have some mandatory fields like

  • Art
  • Größe
  • Zustand

that have to be filled but the current ad-config does (as far as I understand) not support setting these:

Screenshot from 2023-10-08 16-51-43

Which produces an error if one fails to set them manually while the bot is running (I managed to set one single field for some other ad but only because there was just to pick a single "Art" choice and I was quite quick... if there are multiple fields the timeout will usually occur faster):

Screenshot from 2023-10-08 16-52-23

I tried:

# built-in category name as specified in https://github.com/Second-Hand-Friends/kleinanzeigen-bot/blob/main/kleinanzeigen_bot/resources/categories.yaml
# or custom category name as specified in config.yaml
# or category ID (e.g. 161/27)
category: 153/158+schuhe_herren.art_s:outdoor_wanderschuhe+schuhe_herren.brand_s:meindl+schuhe_herren.color_s:grau+schuhe_herren.condition_s:new+schuhe_herren.groesse_s:43

but this does not work

@ilyaZar
Copy link
Author

ilyaZar commented Oct 8, 2023

Ok found the solution, sorry

special_attributes:
  schuhe_herren.art_s: outdoor_wanderschuhe
  schuhe_herren.condition_s: new
  schuhe_herren.brand_s: meindl
  schuhe_herren.color_s: grau
  schuhe_herren.groesse_s: '43'

@ilyaZar ilyaZar closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant