18 lines
301 B
Python
18 lines
301 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class Provider(ABC):
|
|
|
|
@staticmethod
|
|
@abstractmethod
|
|
def domain() -> str:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_mediainfo(self) -> tuple[dict, list]:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_url(self) -> str:
|
|
pass
|