Skip to content

Commit 4311497

Browse files
authored
Change to Init
1 parent a94311e commit 4311497

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/fundus/publishers/uk/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from .express import ExpressParser
1414
from .i_news import INewsParser
1515
from .metro import MetroParser
16+
from .nature import NatureParser
1617
from .the_bbc import TheBBCParser
1718
from .the_guardian import TheGuardianParser
1819
from .the_independent import TheIndependentParser
@@ -145,6 +146,17 @@ class UK(metaclass=PublisherGroup):
145146
],
146147
)
147148

149+
Nature = Publisher(
150+
name="Nature",
151+
domain="https://www.nature.com/",
152+
parser=NatureParser,
153+
sources=[
154+
RSSFeed("https://www.nature.com/nature.rss"),
155+
NewsMap("https://www.nature.com/latest-news/sitemap.xml"),
156+
Sitemap("https://www.nature.com/sitemap.xml"),
157+
],
158+
)
159+
148160
Express = Publisher(
149161
name="Daily Express",
150162
domain="https://www.express.co.uk/",

0 commit comments

Comments
 (0)