I used some web scraping and web automation techniques within Python to legally download free books from www.leanpub.com