![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2013
Device: kindle
|
Remove article from feed after fetch?
I'd like to remove articles after they have been fetched based on information scraped out of the article content.
Anyone have an example of this? I'm currently doing it by overriding _preprocess_html() and removing the article from the feed. Almost but no cigar (it throws off the toc a bit). |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,257
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Simply return None from preprocess_raw_html() that will cause the downloading of the article to abort with an error, skipping it.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
fetch article url from facebook feed | knowledgecrawler | Recipes | 1 | 08-22-2014 03:07 AM |
Full-article blog, fetch, table of contents | surf | Recipes | 9 | 02-06-2013 05:32 PM |
Help: When Article is Feed? | _reader | Recipes | 2 | 06-14-2012 03:53 PM |
Could not fetch article. | Steven630 | Recipes | 4 | 05-05-2012 05:00 AM |
a feed that don't fetch, why? | schuster | Recipes | 0 | 05-26-2011 02:53 PM |