View Single Post
Old 01-27-2026, 01:12 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,420
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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.
I think the problem is the really poor code. Sure it may work on your average browser, but on 8programs made to display ePub, probably not.
JSWolf is offline   Reply With Quote