Live-Crawler-Service (FastAPI+httpx+APScheduler, AidaBot-Muster): scrapt echte OBI/Bauhaus-Seiten, serviert /api/live, Restock-Historie

This commit is contained in:
2026-06-28 07:37:58 +00:00
parent a266b14482
commit bca2107ad8
4 changed files with 139 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# Verifizierte, server-gerenderte Produkt-URLs (httpx-scrapebar, Stand 28.06.2026).
# Erweiterbar: weitere Ketten/Modelle hier eintragen.
SOURCES = [
{"chain":"OBI","kind":"baumarkt","productId":"midea-portasplit-12000","name":"Midea PortaSplit 12.000 BTU",
"url":"https://www.obi.de/p/8620890/midea-mobile-split-klimaanlage-portasplit"},
{"chain":"OBI","kind":"baumarkt","productId":"delonghi-pac-ex105","name":"De'Longhi PAC EX105",
"url":"https://www.obi.de/p/2892115/delonghi-mobiles-klimageraet-dl-pac-ex105-r290-eek-a-"},
{"chain":"Bauhaus","kind":"baumarkt","productId":"midea-portasplit-12000","name":"Midea PortaSplit 12.000 BTU",
"url":"https://www.bauhaus.info/klimaanlagen/midea-klimasplitgeraet-portasplit-12000-btu/p/31934233"},
]
# TODO (mit Keys): Amazon PA-API 5.0 (Access/Secret/Partner-Tag), eBay Browse API (OAuth-App-Token).
# TODO: Per-Markt-Verfügbarkeit über chainspez. Availability-Endpunkte (storeId) wie braucheklima.