From 5aee0a8037a3d6e8d6c72821076652b5c646cb71 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 28 May 2010 14:32:25 -0600 Subject: [PATCH] ... --- resources/recipes/nytimes.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/recipes/nytimes.recipe b/resources/recipes/nytimes.recipe index bd429040d4..1f781dfa94 100644 --- a/resources/recipes/nytimes.recipe +++ b/resources/recipes/nytimes.recipe @@ -9,7 +9,8 @@ import re import time from calibre import entity_to_unicode from calibre.web.feeds.recipes import BasicNewsRecipe -from calibre.ebooks.BeautifulSoup import BeautifulSoup, Tag, NavigableString, Comment +from calibre.ebooks.BeautifulSoup import BeautifulSoup, Tag, NavigableString, \ + Comment, BeautifulStoneSoup class NYTimes(BasicNewsRecipe): @@ -256,7 +257,6 @@ class NYTimes(BasicNewsRecipe): # Fetch the outer table table = soup.find('table') previousTable = table - contentTable = None # Find the deepest table containing the stories while True :