first commit

This commit is contained in:
2026-07-14 13:38:43 +07:00
commit 8b0e1ffffa
19 changed files with 836 additions and 0 deletions

13
app/sources/base.py Normal file
View File

@@ -0,0 +1,13 @@
from __future__ import annotations
from abc import ABC, abstractmethod
from app.models import Offer
class OfferSource(ABC):
source_name: str
@abstractmethod
def fetch_offers(self) -> list[Offer]:
raise NotImplementedError