09-13-2013, 11:28 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2009
Device: N810
|
phys.org Recipe
I created a recipe for phys.org. I get the text but no images. I included the recipe. Is there something else I need to do to get the images?
Thanks from calibre.web.feeds.news import BasicNewsRecipe class Physorg(BasicNewsRecipe): title = u'Physorg' language = 'en' description = u'Phys.org internet news portal provides the latest news on science including: Physics, Nanotechnology, Life Sciences, Space Science, Earth Science, Environment, Health and Medicine.' __author__ = 'seird' publisher = u'phys.org' oldest_article = 7 max_articles_per_feed = 40 auto_cleanup = True no_stylesheets = True use_embedded_content = False remove_empty_feeds = True feeds = [(u'Physorg ', u'http://phys.org/rss-feed/')] |
09-13-2013, 11:32 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You will likely have to remove auto_cleanup = True and manually clean up the using keep_only_tags and remove_tags. Most likely the auto cleanup routine is removing the images.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
longform.org (My first recipe, please critique) | Barty | Recipes | 5 | 01-10-2014 02:31 PM |
Recipe for rebelion.org | cram1010 | Recipes | 0 | 05-04-2012 11:03 AM |
AraInfo.org recipe | meskio | Recipes | 0 | 04-28-2012 08:31 PM |
Recipe for talkorigins.org? | AGB | Recipes | 0 | 05-23-2011 12:38 PM |
Recipe Suggestion: OnSuper8.Org | KindleKid | Calibre | 0 | 07-28-2009 12:31 PM |