View Single Post
Old 08-23-2015, 08:43 AM   #65
compurandom
Guru
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 918
Karma: 417282
Join Date: Jun 2015
Device: kobo aura h2o, kobo forma
That was quick! Cool!

However, it seems to read the first section and then give up.
For example, https://en.wikipedia.org/wiki/Book:3D_printing
only gets the first two articles, quitting before the second heading. Comparing it with the next book, my guess is that it got tripped up on a blank line between the sections and stopped there.

Trying a second book
https://en.wikipedia.org/wiki/Book:2...rricane_season
It looks like it got the whole thing except that it missed the last article (Otto) , replacing it with a second copy of the first article.


Books I tried that are in user space don't work at all. Those would have a URL format like
https ://en.wikipedia.org/wiki/User:USERNAME/Books/BOOKNAME
Looking at the debug output and comparing with one that actually generates an ebook, it gets the correct list of articles, and then dies with this:

Traceback (most recent call last):
File "site.py", line 63, in main
File "site-packages/calibre/utils/ipc/worker.py", line 193, in main
File "site-packages/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
File "site-packages/calibre/ebooks/conversion/plumber.py", line 1042, in run
File "site-packages/calibre/customize/conversion.py", line 241, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/recipe_input.py", line 117, in convert
File "site-packages/calibre/web/feeds/news.py", line 1029, in download
File "site-packages/calibre/web/feeds/news.py", line 1202, in build_index
ValueError: No articles found, aborting

For example, I tested on
https://en.wikipedia.org/wiki/User:B.../_Black_Friday
which is a random book from https://en.wikipedia.org/wiki/Catego...8user_books%29

This article (not in user space) fails in the same pattern:
https://en.wikipedia.org/wiki/Book:Black_Hole_Physics

Last edited by compurandom; 08-23-2015 at 08:51 AM. Reason: found another
compurandom is offline   Reply With Quote