Could someone create a modified HBR (Harvard Business Review) recipe, so I can download previous issues?
The magazine section at
http://hbr.org/magazine has the years previous editions.
I tried cloning and modifying the HBR recipe using the following:
In the function: def hbr_get_toc(self):
I added a hardcoded line for the month I wanted:
url = '/archive-toc/BR1009'
According to the partial error log, it looks like my url is not correct.
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 836, in run
File "site-packages\calibre\customize\conversion.py", line 216, in __call__
File "site-packages\calibre\web\feeds\input.py", line 101, in convert
File "site-packages\calibre\web\feeds\news.py", line 616, in __init__
File "c:\users\michae~1\appdata\local\temp\calibre_0.7. 26_tmp_hphpgy\calibre_0.7.26_9b2f5k_recipes\recipe 0.py", line 46, in get_browser
link = br.find_link(text='Sign out')
File "site-packages\mechanize-0.1.11-py2.6.egg\mechanize\_mechanize.py", line 626, in find_link
mechanize._mechanize.LinkNotFoundError
This worked once, except for the cover, but I am not able to replicate other months.
Adittionally, could the modification include downloading and applying the cover for edition?
I am publishing to ePub.
Could you post a working script here because I am sure there are others interested in a similar feature and function.
Thanks for your help.
P.S. I have been using Calibre for about 18 months, first with my Kindle, and now with my iPad, and I love the application.