This Python3 script exports your highlights and notes from Apple Books into a CSV file.
The dependencies are listed in the requirements.txt file. To install the dependences, run:
pip3 install -r requirements.txt
python3 main.py --outpath <path-to-save-csv-to>