1
0
Fork 0
mirror of https://github.com/Findus23/RadioStats.git synced 2024-09-19 16:03:48 +02:00
RadioStats/parser/base.py
Lukas Winkler d286059289
major overhaul
- use new ORF API
- better structured fetchers
- easier channel metadata
2020-09-28 18:31:57 +02:00

11 lines
264 B
Python

from abc import ABC, abstractmethod
from datetime import datetime
from typing import Tuple, Iterable
from models import Channel
class BaseFetcher(ABC):
@abstractmethod
def get(self, channel: Channel) -> Iterable[Tuple[datetime, str, str]]:
pass