A NodeJS app to extract network urls from log files, download those files, and group them correctly
This is an instruction set on setting up your project locally. To get a local copy up and running follow these simple example steps.
- npm
npm install npm@latest -g
- pnpm
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
- Open your Developer Tools debugger in the browser. Click on the Network Tab.
- Enable the ability to persist logs
- Filter the network logs for the following pattern, https://attachments.clickup.com/exports
- Navigate to https://app.clickup.com
- Using the ClickUp interface, go to a document you want to extract, then select the export button 5a. You can choose to export all pages as either Markdown or HTML. I'd recommended doing both
- Repeat the above step for any other files you want to export
- Lastly, within your Network tab of Developer Tools, save the logs as a HAR file. 7a. Name the HAR file like so, "repo_name/data/network.json"
- Clone the repo
git clone https://github.com/nezhivar/electron-notification.git
- Install pnpm packages
pnpm install
- Extract urls from network logs
npm run extract
- Export file data to desired structure
npm run export
Distributed under the MIT License. See LICENSE.txt
for more information.