Spaces:
Runtime error
Runtime error
from abc import ABC, abstractmethod | |
from CrawDag.models import News | |
class Scraper(ABC): | |
def __init__(self, listNews: list[News]) -> None: | |
self.listNews = listNews | |
def scrape(self) -> list[News]: | |
pass |