Skip to content

Commit 35f0f06

Browse files
authored
Merge pull request #657 from flairNLP/add-rss-to-figaro
Add RSSFeed to `LeFigaro`
2 parents 6c005f5 + 26fd495 commit 35f0f06

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fundus/publishers/fr/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from fundus.publishers.base_objects import Publisher, PublisherGroup
2-
from fundus.scraping.url import NewsMap, Sitemap
2+
from fundus.scraping.url import NewsMap, RSSFeed, Sitemap
33

44
from ..shared import EuronewsParser
55
from .le_figaro import LeFigaroParser
@@ -35,6 +35,8 @@ class FR(metaclass=PublisherGroup):
3535
sources=[
3636
Sitemap("https://sitemaps.lefigaro.fr/lefigaro.fr/articles.xml"),
3737
NewsMap("https://www.lefigaro.fr/sitemap_news.xml"),
38+
RSSFeed("https://www.lefigaro.fr/rss/figaro_actualites.xml"),
39+
RSSFeed("https://www.lefigaro.fr/rss/figaro_flash-actu.xml"),
3840
],
3941
)
4042

0 commit comments

Comments
 (0)