Add MacWorld grabber.
This commit is contained in:
parent
f807ae0a45
commit
be95a3ef23
2
run.py
2
run.py
@ -12,6 +12,7 @@ from sources.NYTTechnology import NYTTechnology
|
|||||||
from sources.ForbesBusiness import ForbesBusiness
|
from sources.ForbesBusiness import ForbesBusiness
|
||||||
from sources.ForbesTechnology import ForbesTechnology
|
from sources.ForbesTechnology import ForbesTechnology
|
||||||
from sources.FinancialTimes import FinancialTimes
|
from sources.FinancialTimes import FinancialTimes
|
||||||
|
from sources.MacWorld import MacWorld
|
||||||
|
|
||||||
DATABASE_PATH = Path("storage.db")
|
DATABASE_PATH = Path("storage.db")
|
||||||
GRAB_FREQUENCY = 15
|
GRAB_FREQUENCY = 15
|
||||||
@ -35,6 +36,7 @@ def main():
|
|||||||
ForbesBusiness(db),
|
ForbesBusiness(db),
|
||||||
ForbesTechnology(db),
|
ForbesTechnology(db),
|
||||||
FinancialTimes(db),
|
FinancialTimes(db),
|
||||||
|
MacWorld(db),
|
||||||
]
|
]
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
5
sources/MacWorld.py
Normal file
5
sources/MacWorld.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from grabber import Grabber
|
||||||
|
|
||||||
|
|
||||||
|
class MacWorld(Grabber):
|
||||||
|
feed_url = "http://www.macworld.com/index.rss"
|
Loading…
x
Reference in New Issue
Block a user