Eurosmart's picture
.
2700879
raw
history blame contribute delete
249 Bytes
from abc import ABC, abstractmethod
from CrawDag.models import News
class Crawler(ABC):
def __init__(self, topics: dict[str: str]) -> None:
self.topics = topics
@abstractmethod
def crawl(self) -> list[News]:
pass