sillsdev / docu-notion

Download Notion pages as markdown and image files, preserving hierarchy and enabling workflow properties. Works with Docusaurus.
MIT License
150 stars 29 forks source link

Video not being downloaded locally as the images #110

Open lucaseduoli opened 1 month ago

lucaseduoli commented 1 month ago

Describe the bug The source of the videos inserted by the docu-notion script from the Notion pages is the AWS server from Notion. This causes the videos to stop working hourly, because the expiration is set to 3600.

Reproduction Steps

https://www.notion.so/API-6b158c06dc6c4c368ea06e0a8e39b224?pvs=4 When docu-notion converts this page, the URL of the video is from AWS. That causes the video to not appear at the deploy: https://docs.langflow.org/workspace-api

Expected behavior The video should be downloaded and inserted locally like the images.

Screenshots image

Additional context This is a really nice project. The Langflow Team is using it to update its docs seamlessly. Thanks for the contribution!

lucaseduoli commented 1 month ago

To provide more context, even on the sample documentation, this is happening on the local uploads: image

andrew-polk commented 1 month ago

I confirm this is happening with the docu-notion-sample-site. Result: https://sillsdev.github.io/docu-notion-sample-site/6daffeb2-ece8-4d44-976f-351e6b5757bb