Skip to content

Commit

Permalink
Merge pull request #657 from flairNLP/add-rss-to-figaro
Browse files Browse the repository at this point in the history
Add RSSFeed to `LeFigaro`
  • Loading branch information
MaxDall authored Nov 5, 2024
2 parents 6c005f5 + 26fd495 commit 35f0f06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fundus/publishers/fr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from fundus.publishers.base_objects import Publisher, PublisherGroup
from fundus.scraping.url import NewsMap, Sitemap
from fundus.scraping.url import NewsMap, RSSFeed, Sitemap

from ..shared import EuronewsParser
from .le_figaro import LeFigaroParser
Expand Down Expand Up @@ -35,6 +35,8 @@ class FR(metaclass=PublisherGroup):
sources=[
Sitemap("https://sitemaps.lefigaro.fr/lefigaro.fr/articles.xml"),
NewsMap("https://www.lefigaro.fr/sitemap_news.xml"),
RSSFeed("https://www.lefigaro.fr/rss/figaro_actualites.xml"),
RSSFeed("https://www.lefigaro.fr/rss/figaro_flash-actu.xml"),
],
)

Expand Down

0 comments on commit 35f0f06

Please sign in to comment.