View Single Post
Old Today, 12:34 PM   #13
PaulB223
Member
PaulB223 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Aug 2022
Device: Kobo Sage
Quote:
Originally Posted by PeterT View Post
tried just replacing the code in parse_index by
Code:
    def parse_index(self):
        feeds = list(self.parse_section('https://www.theguardian.com/uk/environment'))
        feeds += list(self.parse_section('https://www.theguardian.com/world'))
        feeds += list(self.parse_section('https://www.theguardian.com/uk/business'))

        return feeds
and it seems to work (but I didn't send it to a Kobo).

the calibre editor does however report quite a few errors.
Thanks, this seems to work. Any idea how I can transliterate this to other websites too where I'm having the same problem? for example
http://truth-out.org/feed?format=feed
http://www.wsws.org/rss/en.xml
PaulB223 is offline   Reply With Quote