12-19-2010, 10:38 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Previous Issues HBR, Harvard Business Review
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: This worked once, except for the cover, but I am not able to replicate other months. 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 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. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove <previous next> from html | schizopolis | Calibre | 18 | 11-18-2010 09:46 PM |
iPad Harvard Business Review: "Why I Returned My iPad" | kjk | Apple Devices | 17 | 06-18-2010 01:52 AM |
Harvard Business School:Close of a Chapter in Publishing | Sydney's Mom | News | 1 | 04-19-2010 10:54 PM |
Downloading previous issues of Newsweek | kbfprivate | Calibre | 6 | 05-07-2009 11:58 PM |
IBSuite v0.1 (previous pi) | caritas | Workshop | 0 | 04-05-2009 10:48 AM |