leoncvlt / loconotion

📄 Python tool to turn Notion.so pages into lightweight, customizable static websites
840 stars 132 forks source link

KeyError: 'style' #141

Open kmlbgn opened 1 year ago

kmlbgn commented 1 year ago

New error just dropped from nowhere (was working in the past). Don't know why, don't know how. The page being parsed is simple, has a medium sized table (50ish entries 6 columns).

image
kmlbgn commented 1 year ago

After a bit of troubleshooting, I have reasons to think it comes from database/table view processing. Did Notion change the structure of those table and got rid of span?

https://github.com/leoncvlt/loconotion/blob/eb86257da02c5f540a5336b4bc11b69a038c2633/loconotion/modules/notionparser.py#L557-L577

phith0n commented 1 year ago

Same issue