From e193a2bdacf24d0853707f8577b4663eb8ea11a1 Mon Sep 17 00:00:00 2001 From: Jan Niggemann Date: Mon, 21 Feb 2022 12:28:05 +0100 Subject: [PATCH] add example for 3rd-level category conf (#23) --- README.md | 4 ++-- kleinanzeigen_bot/resources/categories.yaml | 2 +- kleinanzeigen_bot/resources/config_defaults.yaml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a03fd7..c58f15b 100644 --- a/README.md +++ b/README.md @@ -226,8 +226,8 @@ ad_defaults: # additional name to category ID mappings, see default list at # https://github.com/Second-Hand-Friends/kleinanzeigen-bot/blob/main/kleinanzeigen_bot/resources/categories.yaml categories: - #Notebooks: 161/27 - #PCs: 161/228 + #Notebooks: 161/278 # Elektronik > Notebooks + #Autoteile: 210/223/sonstige_autoteile # Auto, Rad & Boot > Autoteile & Reifen > Weitere Autoteile # browser configuration browser: diff --git a/kleinanzeigen_bot/resources/categories.yaml b/kleinanzeigen_bot/resources/categories.yaml index 76a6901..1123971 100644 --- a/kleinanzeigen_bot/resources/categories.yaml +++ b/kleinanzeigen_bot/resources/categories.yaml @@ -7,7 +7,7 @@ Kopfhörer: 161/172/lautsprecher_kopfhoerer Lautsprecher: 161/172/lautsprecher_kopfhoerer Monitore: 161/225/monitore Netzwerk: 161/225/netzwerk_modem -Notebooks: 161/27 +Notebooks: 161/278 PCs: 161/228 PC-Zubehör: 161/225/sonstiges Scanner: 161/225/drucker_scanner diff --git a/kleinanzeigen_bot/resources/config_defaults.yaml b/kleinanzeigen_bot/resources/config_defaults.yaml index b63c045..4f17201 100644 --- a/kleinanzeigen_bot/resources/config_defaults.yaml +++ b/kleinanzeigen_bot/resources/config_defaults.yaml @@ -21,6 +21,8 @@ ad_defaults: # additional name to category ID mappings, see default list at # https://github.com/Second-Hand-Friends/kleinanzeigen-bot/blob/main/kleinanzeigen_bot/resources/categories.yaml +# Notebooks: 161/278 # Elektronik > Notebooks +# Autoteile: 210/223/sonstige_autoteile210/223/sonstige_autoteile # Auto, Rad & Boot > Autoteile & Reifen > Weitere Autoteile categories: [] # browser configuration