View Single Post
Old 01-01-2024, 12:38 AM   #2
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 642
Karma: 85520
Join Date: May 2021
Device: kindle
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.
unkn0wn is offline   Reply With Quote