mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix android.com.pl recipe
This commit is contained in:
parent
d2d07d603c
commit
a5648b20d1
@ -8,10 +8,12 @@ class Android_com_pl(BasicNewsRecipe):
|
|||||||
description = u'Android.com.pl - to największe w Polsce centrum Android OS. Znajdziesz tu: nowości, forum, pomoc, recenzje, gry, aplikacje.'
|
description = u'Android.com.pl - to największe w Polsce centrum Android OS. Znajdziesz tu: nowości, forum, pomoc, recenzje, gry, aplikacje.'
|
||||||
category = 'Android, mobile'
|
category = 'Android, mobile'
|
||||||
language = 'pl'
|
language = 'pl'
|
||||||
use_embedded_content = True
|
|
||||||
cover_url = 'http://android.com.pl/wp-content/themes/android/images/logo.png'
|
cover_url = 'http://android.com.pl/wp-content/themes/android/images/logo.png'
|
||||||
oldest_article = 8
|
oldest_article = 8
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
|
keep_only_tags = [dict(name='div', attrs={'class': ['title', 'post-content']})]
|
||||||
|
remove_tags_after = [{'class': 'post-content'}]
|
||||||
|
remove_tags = [dict(name='ul', attrs={'class': 'tags small-tags'}), dict(name='a', attrs={'onclick': 'return ss_plugin_loadpopup_js(this);'})]
|
||||||
preprocess_regexps = [
|
preprocess_regexps = [
|
||||||
(re.compile(ur'<p>.{,1}</p>', re.DOTALL), lambda match: '')]
|
(re.compile(ur'<p>.{,1}</p>', re.DOTALL), lambda match: '')]
|
||||||
feeds = [(u'Android', u'http://android.com.pl/feed/')]
|
feeds = [(u'Android', u'http://android.com.pl/feed/')]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user