Spaces:
Runtime error
Runtime error
from abc import ABC, abstractmethod | |
from CrawDag.models import News | |
class Crawler(ABC): | |
def __init__(self, topics: dict[str: str]) -> None: | |
self.topics = topics | |
def crawl(self) -> list[News]: | |
pass |