Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2023, 02:17 PM   #1
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: 763
Karma: 308700
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
I try my recipe Failed

I'm trying to make a recipe from this site (https://www.tematika.com/) to collect Recommended, new and best sellers.
Could someone give me a hand?

PS: Congratulations and Happy New Year to Kovid and all the members of this community
dunhill is online now   Reply With Quote
Old 01-01-2024, 12:38 AM   #2
unkn0wn
Fanatic
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 539
Karma: 82944
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
Advert
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: 763
Karma: 308700
Join Date: Sep 2017
Location: 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 online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ambito.com Recipe fetch failed, only title fengli Recipes 2 09-22-2023 11:32 PM
HBR recipe failed for me hakimism Recipes 6 04-02-2021 12:52 AM
Aeon.co - Recipe download failed - CERTIFICATE_VERIFY_FAILED emanu Recipes 13 07-16-2016 12:29 AM
Pocket recipe failed on SSL (v2.16) issproevolution Recipes 7 01-28-2015 05:10 PM
Error: Failed to compile downloaded recipe. Falling back to builtin one. hirotop Recipes 1 04-19-2013 09:30 AM


All times are GMT -4. The time now is 04:39 PM.


MobileRead.com is a privately owned, operated and funded community.