mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Kommersant. Fixes #1254508 [kommersant recipe doesn't download content](https://bugs.launchpad.net/calibre/+bug/1254508)
This commit is contained in:
parent
6c45af8558
commit
a1ba8f32e0
@ -35,8 +35,9 @@ class Kommersant_ru(BasicNewsRecipe):
|
||||
, 'language' : language
|
||||
}
|
||||
|
||||
keep_only_tags = [dict(attrs={'class':['document','document_vvodka','document_text','document_authors vblock']})]
|
||||
keep_only_tags = [dict(attrs={'class':'b-article'})]
|
||||
remove_tags = [dict(name=['iframe','object','link','img','base','meta'])]
|
||||
remo_tags_after = dict(attrs={'class':'hide1 hide2'})
|
||||
|
||||
feeds = [(u'Articles', u'http://dynamic.feedsportal.com/pf/438800/http://feeds.kommersant.ru/RSS_Export/RU/daily.xml')]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user