aboutsummaryrefslogtreecommitdiffstats
path: root/scrapers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'scrapers/base.py')
-rw-r--r--scrapers/base.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scrapers/base.py b/scrapers/base.py
new file mode 100644
index 0000000..8d9839f
--- /dev/null
+++ b/scrapers/base.py
@@ -0,0 +1,8 @@
+from abc import ABC, abstractmethod
+
+
+class NewsSource(ABC):
+
+ @abstractmethod
+ def fetch(self, version=None) -> list[dict]:
+ pass
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage