Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/axyyu/notion-clear-trash
A small script to clear the trash from Notion
https://github.com/axyyu/notion-clear-trash
Last synced: about 1 month ago
JSON representation
A small script to clear the trash from Notion
- Host: GitHub
- URL: https://github.com/axyyu/notion-clear-trash
- Owner: axyyu
- License: mit
- Created: 2019-07-09T18:09:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T09:26:35.000Z (5 months ago)
- Last Synced: 2024-08-01T20:49:13.693Z (4 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 122
- Watchers: 4
- Forks: 28
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome - axyyu/notion-clear-trash - A small script to clear the trash from Notion (Python)
README
# notion-clear-trash
A small script to clear the trash from Notion
### How to Run the Script
1. Clone the repository
```bash
git clone https://github.com/w4v3s/notion-clear-trash.git
```
2. Install requirements
```bash
pip3 install -r requirements.txt
```
3. Run python script
```bash
python3 notion-clear-trash.py
```### How to Retrieve the Auth Token (in Chrome)
1. Go to notion.so
2. Open developer tools (hit F12)
3. Navigate to the Application tab (may be hidden if the developer window is small)
4. Expand Cookies under the Storage section on the sidebar
5. Click on 'https://www.notion.so' to view all the cookies
6. Copy the value for the key 'token_v2'