Skip to content

Python script for grabbing (and optional recognize) books from Amazon, Google Play, etc.

License

Notifications You must be signed in to change notification settings

toly/books_grabbing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

books_grabbing

Python script for grabbing (and optional recognize) books from Amazon, Google Play, etc.

P.S. Now, script work only on Mac OS.

How to use

http://www.youtube.com/watch?v=BUBLhS6gu6E

Install requirements

$ brew install imagemagick
$ brew install tesseract
$ pip install pyobjc-core
$ pip install pyobjc
$ pip install pymouse

Usage

$ ./grab.py -h
usage: grab.py [-h] -t TITLE -f [{pdf,txt} [{pdf,txt} ...]] [-n NUMBER_PAGES]
               [-c CMP_AFTER]

optional arguments:
  -h, --help            show this help message and exit
  -t TITLE, --title TITLE
                        book title
  -f [{pdf,txt} [{pdf,txt} ...]], --formats [{pdf,txt} [{pdf,txt} ...]]
                        need formats of output file
  -n NUMBER_PAGES, --number-pages NUMBER_PAGES
                        number pages for grab (default 1000)
  -c CMP_AFTER, --cmp-after CMP_AFTER
                        number of pages, after which the last two pages will
                        be compared and if they equal - stop

About

Python script for grabbing (and optional recognize) books from Amazon, Google Play, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages