mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
recipes: remove most of garbage tags from ciekawostki_historyczne
This commit is contained in:
parent
f279dc923a
commit
34c0a2f8dc
@ -20,8 +20,8 @@ class Ciekawostki_Historyczne(BasicNewsRecipe):
|
||||
remove_empty_feeds = True
|
||||
keep_only_tags = [dict(name='div', attrs={'class': 'post'})]
|
||||
recursions = 5
|
||||
remove_tags = [dict(id='singlepostinfo'), dict(
|
||||
attrs={'class': ['books short floatRight', 'unprintable', 'booksTable', 'bawmrp']})]
|
||||
remove_tags = [dict(id=['catapult-cookie-bar','header','footer','rightcolumn','singlepostinfo']), dict(
|
||||
attrs={'class': ['ubm_banner','ciekawostki-slider-popular','books short floatRight', 'unprintable', 'booksTable', 'bawmrp']})]
|
||||
|
||||
feeds = [
|
||||
(u'Staro\u017cytno\u015b\u0107', u'http://ciekawostkihistoryczne.pl/tag/starozytnosc/feed/'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user