From 631ba316dfab07be7263162880c339af4deb8228 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 15 Jan 2011 16:58:57 -0700 Subject: [PATCH] ... --- resources/recipes/sportsillustrated.recipe | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/recipes/sportsillustrated.recipe b/resources/recipes/sportsillustrated.recipe index dd1df16ac7..f5a7b4c32b 100644 --- a/resources/recipes/sportsillustrated.recipe +++ b/resources/recipes/sportsillustrated.recipe @@ -1,5 +1,5 @@ from calibre.web.feeds.recipes import BasicNewsRecipe -from calibre.ebooks.BeautifulSoup import BeautifulSoup +#from calibre.ebooks.BeautifulSoup import BeautifulSoup from urllib import quote class SportsIllustratedRecipe(BasicNewsRecipe) : @@ -91,7 +91,7 @@ class SportsIllustratedRecipe(BasicNewsRecipe) : # expire : no idea what value to use # All this comes from the Javascript function that redirects to the print version. It's called PT() and is defined in the file 48.js - def preprocess_html(self, soup): + '''def preprocess_html(self, soup): header = soup.find('div', attrs = {'class' : 'siv_artheader'}) homeMadeSoup = BeautifulSoup('') body = homeMadeSoup.body @@ -115,4 +115,5 @@ class SportsIllustratedRecipe(BasicNewsRecipe) : body.append(para) return homeMadeSoup + '''