https://github.com/wanxianliang/notion-export
Notion Markdown Exporter
https://github.com/wanxianliang/notion-export
notion notion-export notion-markdown notion-py python python-script
Last synced: about 2 months ago
JSON representation
Notion Markdown Exporter
- Host: GitHub
- URL: https://github.com/wanxianliang/notion-export
- Owner: wanxianliang
- License: apache-2.0
- Created: 2020-12-13T02:06:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-13T03:10:40.000Z (over 4 years ago)
- Last Synced: 2025-01-13T02:24:54.704Z (3 months ago)
- Topics: notion, notion-export, notion-markdown, notion-py, python, python-script
- Language: Python
- Homepage:
- Size: 155 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notion Markdown Exporter
This is a Notion export script base on [notion2md](https://github.com/echo724/notion2md)
You can use this script by follow these simple steps
**Step 1.** Clone or download this script
```shell
git clone [email protected]:wanxianliang/notion-export.git
```**Step 2.** Install dependency package
```shell
pip3 install -r requirements.txt
```**Step 3.** Get your token_v2 and url by follow these steps
1. go to https://www.notion.so/ and then login in
2. 3.open browser development tool you can get your token_v2 and copy it`s value

**Step 4.** run this script with your token_v2 and page Url
```shell
python3 main.py token_v2 url
```If you like this script, please add a star to [my Github Repo](https://github.com/wanxianliang/notion-export). Thanks!
That's all. Enjoy! :)