From dbc4bc0e5bfbc169080fc12c160113eef07d07c5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 29 Jan 2008 03:49:28 +0000 Subject: [PATCH] Fix the Wall Street Journal profile --- src/libprs500/ebooks/lrf/web/profiles/wsj.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/libprs500/ebooks/lrf/web/profiles/wsj.py b/src/libprs500/ebooks/lrf/web/profiles/wsj.py index 244c95629b..014ac5f07d 100644 --- a/src/libprs500/ebooks/lrf/web/profiles/wsj.py +++ b/src/libprs500/ebooks/lrf/web/profiles/wsj.py @@ -6,7 +6,8 @@ ''' ''' -import re +import re +from urlparse import urlparse from libprs500.ebooks.lrf.web.profiles import DefaultProfile @@ -14,10 +15,11 @@ class WallStreetJournal(DefaultProfile): title = 'Wall Street Journal' max_recursions = 2 - needs_subscription = True + needs_subscription = True + no_stylesheets = False max_articles_per_feed = 10 timefmt = ' [%a, %b %d, %Y]' - html2lrf_options = ['--ignore-tables', '--base-font-size=5'] + html2lrf_options = ['--ignore-tables'] ## Don't grab articles more than 7 days old oldest_article = 7 @@ -27,9 +29,6 @@ class WallStreetJournal(DefaultProfile): ## Remove anything before the body of the article. (r'