Skip to content

Convert kindle and other ebooks to png and pdf file by taking screenshots and merging it into a pdf.

License

Notifications You must be signed in to change notification settings

tamu1203/download-ebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

download-ebook

Convert kindle and other ebooks to png and pdf file by taking screenshots and merging it into a pdf.

DEMO

DEMO.mp4

Requirement

pyautogui

img2pdf

Installation/Setup

pip install pyautogui
pip install img2pdf

git clone https://github.com/tamu1203/download-ebook.git
python dl_ebook.py page_num [-r REGION] [-p] [-d] [-o OUTPUT_FILE_NAME] [-l] [-i INTERVAL_TIME]

Command line options

python dl_ebook.py page_num [-r REGION] [-p] [-d] [-o OUTPUT_FILE_NAME] [-l] [-i INTERVAL_TIME]

-r --region

x1,y1,x2,y2 is window's coordinates

Default value: 580,0,1340,1080

-p --pdf

Output as pdf

-d --delete-image

Delete image files

-o --output-fille-name

Name of the file to output

-l --left-scroll

Scroll to the left

-i --interval-time

Interval time before starting the screenshot.

Default value: 10

License

MIT license.

About

Convert kindle and other ebooks to png and pdf file by taking screenshots and merging it into a pdf.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages