Jerry Liu 46176a1829
cr (#31)
Co-authored-by: Jerry Liu <jerry@robustintelligence.com>
2023-02-12 21:38:00 -08:00
..
2023-02-12 21:38:00 -08:00
2023-02-12 21:38:00 -08:00
2023-02-12 21:38:00 -08:00

RSS Loader

This loader allows fetching text from an RSS feed. It uses the feedparser module to fetch the feed and optionally the html2text module to sanitize it.

Usage

To use this loader, pass in an array of URL's.

from gpt_index import download_loader

RssReader = download_loader("RssReader")

reader = RssReader()
documents = loader.load_data([
    "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
    "https://roelofjanelsinga.com/atom.xml"
])