Thread
:
Repubblica recipe: a tragedy
View Single Post
12-14-2011, 01:52 PM
#
14
kiklop74
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by
kovidgoyal
OK, try implementing
Code:
def preprocess_raw_html(self, raw, url): return '<html><head>'+raw[raw.find('</head>'):]
OK, this solves the problem. I will post updated recipe to bug tracker shortly.
kiklop74
View Public Profile
Find More Posts by kiklop74
Track Posts by kiklop74 via RSS