refactor(config): configuration file moved to /config.py to /config/*

This commit is contained in:
etienne-hd
2026-03-07 15:46:40 +01:00
parent af4264270b
commit d4e76c75af
2 changed files with 10 additions and 6 deletions

View File

@@ -1,12 +1,7 @@
from model import Search, Parameters
import lbc
def handle(ad: lbc.Ad, search_name: str):
print(f"[{search_name}] New ads!")
print(f"Title : {ad.subject}")
print(f"Price : {ad.price}")
print(f"URL : {ad.url}")
print("-" * 40)
from .handler import handle
location = lbc.City(
lat=48.85994982004764,

View File

@@ -0,0 +1,9 @@
import lbc
def handle(ad: lbc.Ad, search_name: str):
print(f"[{search_name}] New ads!")
print(f"Title : {ad.subject}")
print(f"Price : {ad.price}")
print(f"URL : {ad.url}")
print("-" * 40)