How Do I Fetch All Old Items on an RSS Feed?

前端 未结 7 886
谎友^
谎友^ 2020-12-07 07:45

I\'ve been experimenting with writing my own RSS reader. I can handle the \"parse XML\" bit. The thing I\'m getting stuck on is \"How do I fetch older posts?\"

Mos

7条回答
  •  广开言路
    2020-12-07 08:15

    Another potential solution that might not have been available when the question was originally asked and shouldn't require any specific service.

    1. Find the URL of the RSS feed you want and use waybackpack to get the archived urls for that feed.
    2. Use FeedReader or a similar library to pull down the archived RSS feed.
    3. Take the URLs from each feed and scrape them as you wish. If you're going way back in time it's possible there might be some dead links.

提交回复
热议问题