Add Engadget grabber.

This commit is contained in:
Jack Hadrill 2020-01-18 21:19:18 +00:00
parent a928a4beee
commit 3ae9c06e64
2 changed files with 7 additions and 0 deletions

2
run.py
View File

@ -14,6 +14,7 @@ from sources.ForbesTechnology import ForbesTechnology
from sources.FinancialTimes import FinancialTimes from sources.FinancialTimes import FinancialTimes
from sources.MacWorld import MacWorld from sources.MacWorld import MacWorld
from sources.Wired import Wired from sources.Wired import Wired
from sources.Engadget import Engadget
DATABASE_PATH = Path("storage.db") DATABASE_PATH = Path("storage.db")
GRAB_FREQUENCY = 15 GRAB_FREQUENCY = 15
@ -39,6 +40,7 @@ def main():
FinancialTimes(db), FinancialTimes(db),
MacWorld(db), MacWorld(db),
Wired(db), Wired(db),
Engadget(db),
] ]
while True: while True:

5
sources/Engadget.py Normal file
View File

@ -0,0 +1,5 @@
from grabber import Grabber
class Engadget(Grabber):
feed_url = "https://www.engadget.com/rss.xml"