leoncvlt / loconotion

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

More reliable content loading #99

Closed 2m closed 2 years ago

2m commented 2 years ago

Increases the height of the headless browser to 20000 pixels so no scrolling is needed for all content to load.

This fixes a problem when some content in the middle of the screen would not be loaded.

Also adds additional signal for the page load check that looks for any changes in the page source. This fixes a situation where notion-scroller already has some children but not all content has been loaded yet.