Code Monkey home page Code Monkey logo

allitebook's Introduction

Allitebook

Note: This project is no longer being maintained in favor of bore.

Script to download books from www.allitebooks.com

The following dependencies are required:

  • Python
  • Pip
  • Virtualenv (via pip)

In a fresh terminal, navigate to the directory you want to store the pdf files in. Then, execute the following commands:

$ virtualenv allitebook_venv
$ source allitebook_venv/bin/activate
$ git clone https://www.github.com/pchan37/allitebook
$ cd allitebook
$ pip install -r requirements.txt
$ python Allitebook.py
  • Features the usage of a blacklist to skip certain links
  • Fixed bugs when saving progress
    • AssertionError causes the program to crash before it has saved current progress
    • Progress was not saved when the program finished
  • Fixed bug when determining the adjusted page to start on
    • Miscalculation lead to an off-by-one error
  • Features the ability to save progress with a configuration file (Press Ctrl-C)
  • Features logging of broken links
  • Features atomic writing of pdf and txt files
  • Features a downloading engine that starts from the last page and work its way to the beginning
    • Download the book in pdf format
    • Scrap the book description and save it as a .txt file
    • Scrap the book category and save both files in that folder

allitebook's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.