hugolime / notion-backup Goto Github PK
View Code? Open in Web Editor NEWAutomate Notion workspace backup export
Automate Notion workspace backup export
I want to run notion_backup every evening automatically without my supervision, but it currently pauses at the start of the script to prompt to ask me which space to select (I only have one - and its already configured in the .conf file)
Is there a way to bypass this prompt?
Following are the erros while instaliing
ERROR: Could not find a version that satisfies the requirement notion-backup (from versions: none)
ERROR: No matching distribution found for notion-backup
Hi! I'm currently trying to run your script to backup my notion workspace -- thanks so much for putting this together! However, I keep running into the above error. Could you please advise?
Hi!
I want to integrate your lib here into my project, which takes the notion html-export and turns it into a fully functional and themeable website โ https://github.com/VanDerLars/Notion2Web
You don't provide informations about the licensing. Am I allowed to bring your functions to Notion2Web?
It has worked perfectly for months, then suddenly it starts throwing out an HTTP error every time before there is even a chance to log in. I suspect that the API of Notion has been reworked.
Backup Notion workspace into directory C:\Users\phoen\Documents
Login to notion if necessary
Traceback (most recent call last):
File "C:\Users\phoen\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\phoen\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\phoen\Documents\venv\Scripts\backup_notion.exe\__main__.py", line 9, in <module>
File "c:\users\phoen\documents\venv\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\phoen\documents\venv\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\phoen\documents\venv\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\phoen\documents\venv\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\phoen\documents\venv\lib\site-packages\notion_backup\backup_service.py", line 106, in main
backup_service.backup()
File "c:\users\phoen\documents\venv\lib\site-packages\notion_backup\backup_service.py", line 58, in backup
user_content = self.notion_client.get_user_content()
File "c:\users\phoen\documents\venv\lib\site-packages\notion_backup\notion_client.py", line 51, in get_user_content
return self._send_post_request("loadUserContent", {})["recordMap"]
File "c:\users\phoen\documents\venv\lib\site-packages\notion_backup\notion_client.py", line 47, in _send_post_request
response.raise_for_status()
File "c:\users\phoen\documents\venv\lib\site-packages\requests\models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://www.notion.so/api/v3/loadUserContent
now that notion has an API, would you consider updating your module to make use of the API ?
I want to export some specific page not all the workspace page.
Is it possble?
Hello! Thanks for this lib.
It worked for a week and then stopped working.
Error:
requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://www.notion.so/api/v3/getTasks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.