pip install git+https://github.com/DaVinci42/highlight.git
- Kindle
- Parse
My Clippings.txt
toClipping
type - Sync to Notion, with default or customized layout
- Parse
- KoReader
- Parse clippings from KoReader
- Sync to Notion
5 sec delay after each book, to avoid exceeding API limit
-
Sync Kindle Clippings To Notion
syncer.sync_kindle( # token_v2 from your cookie token="", # url of your target notion page page="", # your 'My Clippings' file path file_path="", # optional, just in case you wanna customize layout page_render: Callable[[BasicBlock, List[List[Clipping]]], None] )
-
Sync KoReader Clippings
syncer.sync_koreader( token: str, page: str, # your clipping folder, or single clipping.html path: str, page_render: Callable[[BasicBlock, List[Tuple[str, List[str]]], bool], None] = render_koreader_page, # replace will add TOC, if not will just append replace: bool = False )