diff --git a/run.py b/run.py index f3d48b8..aef9160 100644 --- a/run.py +++ b/run.py @@ -11,6 +11,7 @@ from sources.NYTBusiness import NYTBusiness from sources.NYTTechnology import NYTTechnology from sources.ForbesBusiness import ForbesBusiness from sources.ForbesTechnology import ForbesTechnology +from sources.FinancialTimes import FinancialTimes DATABASE_PATH = Path("storage.db") GRAB_FREQUENCY = 15 @@ -33,6 +34,7 @@ def main(): NYTTechnology(db), ForbesBusiness(db), ForbesTechnology(db), + FinancialTimes(db), ] while True: diff --git a/sources/FinancialTimes.py b/sources/FinancialTimes.py new file mode 100644 index 0000000..facb5b7 --- /dev/null +++ b/sources/FinancialTimes.py @@ -0,0 +1,6 @@ +from grabber import Grabber + + +class FinancialTimes(Grabber): + feed_url = "https://www.ft.com/?format=rss&edition=uk" + date_format = "%a, %d %b %Y %H:%M:%S %Z"