martapanc / PlayBooks-Notes-to-MD

Extract highlighted notes from aGoogle Play Books' Note file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Play Books Note Extractor

Google Play Books

When highlighting text in a Google Play Books ebook, the resulting notes are saved in a Document in the user's Drive. The purpose of this script is to extract the notes so that they can be saved in a more manageable format, such as Markdown.

Before we can execute the script, we need to run a few steps:

  1. In Google Drive, open the Notes file of the book that you wish to export;
  2. Click on "File" > "Download" and select "Web Page (.html, zipped)"
Notes file in Google Drive
  1. Save the .zip file to your computer, e.g. in the Downloads folder, and extract it.

Code Setup

python3 -m venv env
source env/bin/activate

python3 extractor.py --file="path/to/your/NotesfromXYZ.html"

About

Extract highlighted notes from aGoogle Play Books' Note file


Languages

Language:Python 100.0%