daily-wallpaper/providers/_provider.py

14 lines
228 B
Python
Raw Normal View History

2024-11-20 04:53:04 -04:00
from abc import abstractmethod, ABC
class Provider(ABC):
name = None
url = None
def __init__(self, settings, session):
self.settings = settings
self.session = session
@abstractmethod
2024-11-20 16:34:20 -04:00
def get_image_info(self):
2024-11-20 04:53:04 -04:00
pass