marcus-crane / october

A simple GUI for retrieving Kobo highlights and syncing them with Readwise
https://october.utf9k.net
MIT License
162 stars 10 forks source link

Filter out Kobo purchased titles #80

Closed marcus-crane closed 1 year ago

marcus-crane commented 1 year ago

Closes #76 Closes #79

This PR updates the various content queries to ignore IDs that don't contain file:///. It's a bit of a hack but store bought books always have a GUID as a Content ID.

The format is always a file path but it can vary slightly in some cases so I've just opted to check for the file protocol as a start.

My own highlights have stopped syncing (from store purchased titles) so this appears to do the job

github-actions[bot] commented 1 year ago

🚀 This branch can be previewed at https://578d24eb.9koctober.pages.dev