View Single Post
Old 01-01-2024, 02:46 PM   #3
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 897
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by unkn0wn View Post
Code:
from calibre.web.feeds.news import BasicNewsRecipe

class xyz(BasicNewsRecipe):
    title = 'tem'
    encoding = 'utf-8'
    use_embedded_content = False
    remove_javascript = True
    no_stylesheets = True
    remove_attributes = ['height', 'width', 'style']
    auto_cleanup = True

    def parse_index(self):
        return [('Tem', [{'title': 'Article', 'url': 'https://www.tematika.com/'},]),]
this is not an article.. try with auto_cleanup true, if nothing try false.
I run false
Thank you so much !!
Can you determine the size of the images?

Last edited by dunhill; 01-01-2024 at 04:22 PM.
dunhill is offline   Reply With Quote