Skip to content

Script to extract ebooks downloaded by Pearson library Android app.

License

Notifications You must be signed in to change notification settings

anoop142/PearsonEbookExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PearsonEbookExtractor

This script extracts E-Books downloaded by pearson library Android app.

Pearson Android app lets us read books offline, but it doesn't allow us to export the pdf.

Note: Please don't use this for piracy.

Requirements/Installation:

adb

sudo apt install android-tools-adb

PyPDF2

python3 -m pip install -r requirements.txt

Using this utility

The book you wish to extract must be downloaded / offline in the Pearson Library Android app.

Two modes of operation root and no-root, default is no-root.

Root mode: Device must be rooted! . Pulls pdf from /data/data/com.pearson.android.pulse.elibrary/files/books using adb, will skip if file already exist.

No-root mode: Uses adb backup to make backup of the app and extract the books from the backup.

run this script as follows:

python3 extractor.py [--root] [--no-rename] [-k] [-o path]

eg:

python3 extractor.py 

optional arguments:

  -h, --help  show this help message and exit
  --root      root method to extract pdf.
  -o path     output dir
  --no-rename  dont rename pdf using metadata.
  --rm-corrupt  remove corrupt pdf files

Note

Default location for extracted books is 'books'.

The script will try to rename the books using the pdf metadata by default , however it may not work always.

About

Script to extract ebooks downloaded by Pearson library Android app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages