# manual_agregator/parser/handlers/base.py
from abc import ABC, abstractmethod
from bs4 import BeautifulSoup

class FieldHandler(ABC):
    @abstractmethod
    def parse(self, field_name: str, config: dict, soup: BeautifulSoup,
              main_values: dict, selectors: dict, extracted: dict):
        """Return parsed value (can be None)."""
        raise NotImplementedError
