So I'm answering my own question now, looks like I'm learning
To get rid off the navbar, I should have specified
--output-profile kindle on the command line while using
-ebook-convert (that is: it does not read the
-.config files when you are using it from the CLI).
So my only remaining issue is that my recipe fails to download one article as can be seen in the debug.log here:
https://gist.github.com/749781.
Recipe (which needs refactoring, I know):
https://gist.github.com/749788
Missing article:
http://www.es.hu/2010-12-15_kovetseg...ok-titokparade
(it's recognized so my recipe sees this article, but can't download it):
Code:
ould not fetch link http://www.es.hu/2010-12-15_kovetsegi-taviratok-titokparade
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 428, in process_links
soup = self.get_soup(dsrc)
File "/usr/lib/calibre/calibre/web/fetch/simple.py", line 189, in get_soup
return self.preprocess_html_ext(soup)
File "/tmp/calibre_0.7.34_tmp_WzGqsn/calibre_0.7.34_8gsQ4J_recipes/recipe0.py", line 122, in preprocess_html
url = links['href']
File "/usr/lib/calibre/calibre/ebooks/BeautifulSoup.py", line 518, in __getitem__
return self._getAttrMap()[key]
KeyError: 'href'
http://www.es.hu/2010-12-15_kovetsegi-taviratok-titokparade saved to
Downloading
Fetching http://www.es.hu/2010-12-15_leminosites-
Failed to download article: TIMOTHY GARTON ASH: Követségi táviratok: titokparádé from http://www.es.hu/2010-12-15_kovetsegi-taviratok-titokparade
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/utils/threadpool.py", line 95, in run
(request, request.callable(*request.args, **request.kwds))
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 838, in fetch_article
return self._fetch_article(url, dir, f, a, num_of_feeds)
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 834, in _fetch_article
raise Exception(_('Could not fetch article. Run with -vv to see the reason'))
Exception: Nem lehet a cikket letölteni. Futtassa a -vv paraméterrel a hibaüzenetek megjelenítéséhez
1% A következő cikk letöltése nem sikerült: u'TIMOTHY GARTON ASH: K\xf6vets\xe9gi t\xe1viratok: titokpar\xe1d\xe9'
And I need that article too.
I did try to get it via web2disk, and it was downloaded. So why my recipe can't get it?
Thanks for any help!