paperboi / kindle2notion

Export all clippings from your Kindle device to a database in Notion.
https://pypi.org/project/kindle2notion/
MIT License
886 stars 120 forks source link

Not writing to Notion #4

Closed dieggywegz closed 3 years ago

dieggywegz commented 3 years ago

I've followed instructions and don't get an error upon executing the command, but the clippings are not actually written to the Notion database. In fact, the database remains unchanged from the template.

image

Pop OS 20.10 Kindle Paperwhite (3rd Gen)

paperboi commented 3 years ago

Retraced the steps and it worked for me. Can you crosscheck your NOTION_TABLE_ID and NOTION_TOKEN?

AnilRh commented 3 years ago

@dieggywegz Could you provide an example Clipping from your My Clippings text file?

I had the same issue. In my case the code was looking for "Your Highlight at location" while my clippings contained "Your Highlight On Location". Since they didn't match the clipping was ignored. (I also had to change some date formatting code for US date format support - so perhaps that's why my text was different too).

paperboi commented 3 years ago

@dieggywegz Could you provide an example Clipping from your My Clippings text file?

I had the same issue. In my case the code was looking for "Your Highlight at location" while my clippings contained "Your Highlight On Location". Since they didn't match the clipping was ignored. (I also had to change some date formatting code for US date format support - so perhaps that's why my text was different too).

Can you pls add your changes as a possible use case in the code? From what I have seen so far, the date formats for different Kindle models in different countries are widely different and it would be great if our code could cater to as many formats as possible.