![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: calibre
|
![]()
Hi, I'd like to propose the following additions to the Internazionale recipe (this) so that some text and images after the article are removed, since they do not belong to the article, but they only point to other articles.
In "class Volkskrant(BasicNewsRecipe):" I propose to add the class with the comments: Code:
remove_tags = [ dict( attrs={ 'class': [ 'item-banner', 'hentryfeed__side', 'magazine-article-share-tools', 'magazine-article-share-popup', 'article_next', 'cta_nl_ext_container', 'article_others_authors', # Remove link of other articles at the bottom of the article 'item_note2', # Remove 'lettere' and 'numero' at the bottom of the article 'article_spotlight', # Remove 'Da non perdere' at the end of the article ] } ), dict(name=['script', 'style']), ] |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,337
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: calibre
|
Thank you!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Update for engadget recipe | epubli | Recipes | 0 | 02-08-2021 04:48 PM |
Update to Spektrum recipe | epubli | Recipes | 0 | 03-27-2020 12:54 PM |
[recipe update] Something Awful | atordo | Recipes | 1 | 08-12-2013 06:38 PM |
Proposing a fix for Taz.de (die tageszeitung) RSS Feed - German | Pessac | Recipes | 3 | 10-01-2011 04:34 PM |