Giter Club home page Giter Club logo

notion-backup's People

Contributors

hugolime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

notion-backup's Issues

How to skip being prompted to choose the space id?

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?

pip install not working

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

License?

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?

[HTTPError: 401 Client Error: Unauthorized for url]

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.