Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Impressive how short this can be with the right libraries: 40 lines of code to scrape an index, download the pages, get the right parts, and make them an ebook.

However, wouldn't it be more efficient if one person would do this, and publish it? Now everybody has to scrape PG's site. Thanks for the code tho!

What is the licence on the articles?



[deleted]


The result is an invalid ePub book since some pages do not follow strict xhtml rules; tag mismatch. iBooks and some other readers fail to render them.

This page contains the following errors: error on line 13 at column 7: Opening and ending tag mismatch: font line 0 and p




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: