Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when starting to parse another notion links #50

Open
azaitsev opened this issue Apr 15, 2021 · 1 comment
Open

Crash when starting to parse another notion links #50

azaitsev opened this issue Apr 15, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@azaitsev
Copy link

I'm trying to load

https://www.notion.so/Getting-Started-42e612b783b24c0699ab3da248a69f1a

and got:

[03:55:29] INFO Parsing page 'https://www.notion.so/notion/Keyboard-Shortcuts-66e28cec810548c3a4061513126766b0'
[03:55:41] INFO Exporting page 'https://www.notion.so/notion/Keyboard-Shortcuts-66e28cec810548c3a4061513126766b0' as 'notion/keyboard-shortcuts.html'
[03:55:41] CRITICAL FileNotFoundError: [Errno 2] No such file or directory: 'dist/getting-started/notion/keyboard-shortcuts.html'

@leoncvlt
Copy link
Owner

Curious, seems like this is because of the official notion page https://www.notion.so/notion/Keyboard-Shortcuts-66e28cec810548c3a4061513126766b0 which seems to differ in structure by all the other notion pages by having an extra notion slug in the URL. Ironically, the url immediately redirects to https://www.notion.so/Learn-the-shortcuts-66e28cec810548c3a4061513126766b0 which has the expected structure, but nonetheless the script is tripped, causing the error above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants