Observer UK - modifying Guardian recipe
For Pauliehk
My first couple of attempts at modifying the existing recipe failed, but I am pretty new to this. The key to making it work seems to be to change the soup section by replacing:
soup = self.index_to_soup('http://www.guardian.co.uk/theguardian')
with
soup = self.index_to_soup('http://www.guardian.co.uk/theobserver')
I also changed the feeds section to include the observer rss feeds and
the img source in the soup section to
img = soup.find( 'img',attrs ={'alt':'Observer digital edition'})
I'm sure there is some fine tuning needed but its a start.
|