From 3f9a16e687d28968fadf18e02ac8d0b1716aea08 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 26 Aug 2012 08:55:52 +0530 Subject: [PATCH] ... --- recipes/chronicle_higher_ed.recipe | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/chronicle_higher_ed.recipe b/recipes/chronicle_higher_ed.recipe index 86f60181bc..7ed834a4e5 100644 --- a/recipes/chronicle_higher_ed.recipe +++ b/recipes/chronicle_higher_ed.recipe @@ -41,6 +41,10 @@ class Chronicle(BasicNewsRecipe): dates = self.tag_to_string(issue.a).split(': ')[-1] self.timefmt = u' [%s]'%dates + #Find cover + cover=soup0.find('div',attrs={'class':'promo'}).findNext('div') + self.cover_url="http://chronicle.com"+cover.find('img')['src'] + #Go to the main body soup = self.index_to_soup(issueurl) div0 = soup.find ('div', attrs={'id':'article-body'})