mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Tabu.ro
This commit is contained in:
parent
5a40b8835a
commit
d73afc11da
@ -31,23 +31,22 @@ class TabuRo(BasicNewsRecipe):
|
|||||||
}
|
}
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name='div', attrs={'id':'Article'}),
|
dict(name='h2', attrs={'class':'articol_titlu'}),
|
||||||
|
dict(name='div', attrs={'class':'poza_articol_featured'}),
|
||||||
|
dict(name='div', attrs={'class':'articol_text'})
|
||||||
]
|
]
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='div', attrs={'id':['advertisementArticle']}),
|
dict(name='div', attrs={'class':'asemanatoare'})
|
||||||
dict(name='div', attrs={'class':'voting_number'}),
|
|
||||||
dict(name='div', attrs={'id':'number_votes'}),
|
|
||||||
dict(name='div', attrs={'id':'rating_one'}),
|
|
||||||
dict(name='div', attrs={'class':'float: right;'})
|
|
||||||
]
|
]
|
||||||
|
|
||||||
remove_tags_after = [
|
remove_tags_after = [
|
||||||
dict(name='div', attrs={'id':'comments'}),
|
dict(name='div', attrs={'id':'comments'}),
|
||||||
|
dict(name='div', attrs={'class':'asemanatoare'})
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
(u'Feeds', u'http://www.tabu.ro/rss_all.xml')
|
(u'Feeds', u'http://www.tabu.ro/feed/')
|
||||||
]
|
]
|
||||||
|
|
||||||
def preprocess_html(self, soup):
|
def preprocess_html(self, soup):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user