Add Engadget grabber.
This commit is contained in:
parent
a928a4beee
commit
3ae9c06e64
2
run.py
2
run.py
@ -14,6 +14,7 @@ from sources.ForbesTechnology import ForbesTechnology
|
||||
from sources.FinancialTimes import FinancialTimes
|
||||
from sources.MacWorld import MacWorld
|
||||
from sources.Wired import Wired
|
||||
from sources.Engadget import Engadget
|
||||
|
||||
DATABASE_PATH = Path("storage.db")
|
||||
GRAB_FREQUENCY = 15
|
||||
@ -39,6 +40,7 @@ def main():
|
||||
FinancialTimes(db),
|
||||
MacWorld(db),
|
||||
Wired(db),
|
||||
Engadget(db),
|
||||
]
|
||||
|
||||
while True:
|
||||
|
5
sources/Engadget.py
Normal file
5
sources/Engadget.py
Normal file
@ -0,0 +1,5 @@
|
||||
from grabber import Grabber
|
||||
|
||||
|
||||
class Engadget(Grabber):
|
||||
feed_url = "https://www.engadget.com/rss.xml"
|
Loading…
x
Reference in New Issue
Block a user