Skip to content

Commit 73fbe67

Browse files
add Rest of World publisher
1 parent 716b827 commit 73fbe67

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/fundus/publishers/us/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from .washington_times import WashingtonTimesParser
2222
from .wired import WiredParser
2323
from .world_truth import WorldTruthParser
24+
from .rest_of_world import RestOfWorldParser
2425

2526

2627
class US(metaclass=PublisherGroup):
@@ -274,3 +275,14 @@ class US(metaclass=PublisherGroup):
274275
Sitemap("https://www.wired.com/sitemap-archive-1.xml"),
275276
],
276277
)
278+
279+
RestOfWorld = Publisher(
280+
name="Rest of World",
281+
domain="https://restofworld.org/",
282+
parser=RestOfWorldParser,
283+
sources=[
284+
RSSFeed("https://restofworld.org/feed/latest/"),
285+
Sitemap("https://restofworld.org/sitemap.xml"),
286+
]
287+
288+
)

0 commit comments

Comments
 (0)