mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
support special category attributes (#33)
This commit is contained in:
@@ -404,6 +404,13 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
if ad_cfg["price_type"] != "GIVE_AWAY":
|
||||
self.web_input(By.ID, "pstad-price", ad_cfg["price"])
|
||||
|
||||
#############################
|
||||
# set special properties of category
|
||||
#############################
|
||||
if ad_cfg["special_attributes"]:
|
||||
for special_property_key, special_property_value in ad_cfg["special_attributes"]:
|
||||
self.web_input(By.ID, special_property_key, special_property_value)
|
||||
|
||||
#############################
|
||||
# set description
|
||||
#############################
|
||||
|
||||
Reference in New Issue
Block a user