Fetch Chinese Medium/High risks areas and send them to Notion.
This script does:
- Parse the content from the notice of the XJLTU university website (thanks a lot to them!)
- Parse it and extract informations including specifics areas and number of cases
- Send it to Notion.
Please find the Notion template here
Clone the repo and install the dependencies. NodeJS and Python3 (with pip) must be installed.
git clone [email protected]:loicpirez/Send-Chinese-Risky-Areas-to-Notion.git
npm install
Environment must contain those variables.
You can add them in the .env
files. (see .env.sample
)
Name | Description |
---|---|
NOTION_TOKEN | API token of your Notion integration. |
NOTION_PAGE_TITLE | Title of your Notion page. |
NOTION_PAGE_ID | ID of your Notion page. |
npm run start