View Single Post
Old 06-11-2010, 03:56 AM   #14
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Daanish87 View Post
Hi Guys, sort of related, but I want to download the print version of the investment executive. The normal URL is:

http://www.investmentexecutive.com/c...on=149&cat=149

Where as the print version is:

http://www.investmentexecutive.com/c...on=149&cat=149

I was using this site : http://calibre-ebook.com/user_manual...sion#portfolio

to figure out how to download the print version. It says to replace the old URL with the print URL. But Im not sure how to do this with the above to URL's. I would appreciate some insight as to how to do this.

Thanks
I don't have experience you may need but now that you have the question over in custom recipes here is what I think will return the print version for you.

Code:
    def print_version(self, url):
        return url.replace('http://www.investmentexecutive.com/client/en/News/DetailNews.asp?', 'http://www.investmentexecutive.com/client/en/News/ImprimerDetail.asp?')
DoctorOhh is offline   Reply With Quote