View Single Post
Old 01-26-2026, 05:33 PM   #11
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,791
Karma: 80104686
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
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.
PeterT is offline   Reply With Quote