Skip to content

A small script to clear the trash from Notion

License

Notifications You must be signed in to change notification settings

pwalen/notion-clear-trash

This branch is 3 commits behind axyyu/notion-clear-trash:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 7, 2020
60ea92b · Jun 7, 2020

History

6 Commits
Jul 9, 2019
Jul 9, 2019
Jun 7, 2020
May 25, 2020
Apr 8, 2020

Repository files navigation

notion-clear-trash

A small script to clear the trash from Notion

How to Run the Script

  1. Clone the repository
git clone https://github.com/w4v3s/notion-clear-trash.git
  1. Install requirements
pip3 install -r requirements.txt
  1. Run python script
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'

About

A small script to clear the trash from Notion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%