Thread
:
Unreadable Novaya Gazeta
View Single Post
10-12-2010, 12:41 PM
#
3
muwa
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
Everything worked like a charm. Thanks a bunch!
Here is final code:
Spoiler
:
class AdvancedUserRecipe1286819935(BasicNewsRecipe):
title = u'Novaya Gazeta'
oldest_article = 7
max_articles_per_feed = 100
no_stylesheets = True
conversion_options = {'linearize_tables' : True}
feeds = [(u'Articles', u'http://www.novayagazeta.ru/rss_number.xml')]
def preprocess_html(self, soup):
for item in soup.findAll(attrs={'style':True}):
del item['style']
return soup
def print_version(self, url):
return url + '?print=true'
muwa
View Public Profile
Find More Posts by muwa
Track Posts by muwa via RSS