Hi
I'm writing this recipe:
Code:
class AdvancedUserRecipe1416065639(BasicNewsRecipe):
title = u'Ganemos Feminismos'
oldest_article = 365
max_articles_per_feed = 100
auto_cleanup = True
reverse_article_order = True
remove_empty_feeds = True
language = 'es_ES'
publisher = 'Ganemos'
publication_type = 'actas'
feeds = [(u'Feminismos', u'http://ganemosmadrid.info/category/actas/actas_feminismos/feed/')]
extra_css = '.calibre_navbar, *:empty {display:none;}'
preprocess_regexps = [
(re.compile(r' ',re.DOTALL|re.IGNORECASE), lambda match: ''),
(re.compile(r'\s*<p[^>]*>\s*</p>\s*',re.DOTALL|re.IGNORECASE), lambda match: '')
]
def get_cover_url(self):
return 'http://ganemosmadrid.info/wp-content/uploads/2014/11/GM_ORG_SEPT.png'
but I'm still see empty paragraph in my .epub. I see the line blank for each:
I get:
Code:
<p class="calibre8"> </p>
how can I delete this kind of empty tags?
Thanks