Recent Posts
Extract Kindle highlights using JS in the browser
Oftentimes when I read non-fiction books on my Kindle, I make a lot of highlights. I don’t actually remember how I used to extract them, but I know I did. It was a manual process, and I think it wasn’t that easy.
Anyway, I came across this Medium post by Dylan Meeus on how to scrape all the Kindle highlights from your Kindle page at Amazon. First, I didn’t know about this page, https://read.amazon.com/kp/notebook . Previously I clicked around inside Content and devices on the main Amazon page. Instead of following Dylan’s recommendation by having a full-blown Python scraper that logs in, I’ve been playing around with small JavaScript snippets lately, inspired by Simon Willison and his tools website . So I figured, why not translate Dylan’s approach to something that could be run in the browser? I asked Claude, who nailed it. The result is this gist , embedded below here.