remove most of the garbage tags

This commit is contained in:
Tomasz Długosz 2015-10-16 17:15:25 +02:00
parent 99299512f6
commit fa8e78b0b3

View File

@ -22,3 +22,7 @@ class lifehacking(BasicNewsRecipe):
no_stylesheets=True
feeds = [(u'Lifehacker polska', u'http://feeds.feedburner.com/pl_lh')]
keep_only_tags = [
dict(name='header', attrs={'class': 'td-post-title'}),
dict(name='div', attrs={'class': 'td-post-content'})]