View Single Post
Old 04-25-2010, 02:45 AM   #1849
gambarini
Connoisseur
gambarini began at the beginning.
 
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
Quote:
Originally Posted by gambarini View Post
Code:
    def print_version(self, url):
        raw = self.browser.open(url).read()
        soup = BeautifulSoup(raw.decode('utf8', 'replace'))
        print_link = soup.find('a', {'class':'printarticle'})
        return  'www.infomotori.com' + print_link['href'] 
        feeds          =     [(u'Ultime Novit\xe0', u'http://feeds.infomotori.com/ultimenovita')]
In this case the print link appeare good in debug, but the calibre return "can't download article. try -vv for details"
The print link, in this case and in one another case, is suitable only for particular articles (example: in dept reviews stripped on more pages)... The recipes, otherwise, works correctly. So, i have a group of new recipes to release:
Italian News Daily:
IlMessaggero
IlGiornale
LaStampa (Editoriali)
Italian News (Agency):
ANSA.it
ADNKronos.it

I.T. News Italian:
PuntoInformarico.it
TheAppleLounge
Androidiani

Italian News of Cars and MotoCycles:
InfoMotori.com

Uk News:
ElectronistaGadget (I.T. news)
Ansa.it (English)

What is the correct way to post all of them?
A single zip with all, or a zip for every recipes?
What is the correct values for author?

This program is great, for me, and it's the main reason to buy an e-book reader!!!!!
gambarini is offline