diff --git a/run.py b/run.py index b7c3cfe..8d67abe 100644 --- a/run.py +++ b/run.py @@ -15,6 +15,8 @@ from sources.FinancialTimes import FinancialTimes from sources.MacWorld import MacWorld from sources.Wired import Wired from sources.Engadget import Engadget +from sources.HuffingtonPostBusiness import HuffingtonPostBusiness +from sources.HuffingtonPostTechnology import HuffingtonPostTechnology DATABASE_PATH = Path("storage.db") GRAB_FREQUENCY = 15 @@ -41,6 +43,8 @@ def main(): MacWorld(db), Wired(db), Engadget(db), + HuffingtonPostBusiness(db), + HuffingtonPostTechnology(db), ] while True: diff --git a/sources/HuffingtonPostBusiness.py b/sources/HuffingtonPostBusiness.py new file mode 100644 index 0000000..8e4f60d --- /dev/null +++ b/sources/HuffingtonPostBusiness.py @@ -0,0 +1,5 @@ +from grabber import Grabber + + +class HuffingtonPostBusiness(Grabber): + feed_url = "https://www.huffpost.com/section/business/feed" diff --git a/sources/HuffingtonPostTechnology.py b/sources/HuffingtonPostTechnology.py new file mode 100644 index 0000000..c7ee485 --- /dev/null +++ b/sources/HuffingtonPostTechnology.py @@ -0,0 +1,5 @@ +from grabber import Grabber + + +class HuffingtonPostTechnology(Grabber): + feed_url = "https://www.huffpost.com/section/technology/feed"