https://github.com/pxlrbt/third-party-checker
Quickly check your websites for third party requests.
https://github.com/pxlrbt/third-party-checker
puppeteer requests third-party
Last synced: about 2 months ago
JSON representation
Quickly check your websites for third party requests.
- Host: GitHub
- URL: https://github.com/pxlrbt/third-party-checker
- Owner: pxlrbt
- License: lgpl-3.0
- Created: 2022-10-17T18:55:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T10:43:15.000Z (3 months ago)
- Last Synced: 2025-02-26T04:12:54.808Z (2 months ago)
- Topics: puppeteer, requests, third-party
- Language: JavaScript
- Homepage:
- Size: 60.5 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Third Party Checker
Tool for crawling websites and checking for third party requests using Puppeteer.
## Installation
```bash
git clone https://github.com/pxlrbt/third-party-checker.git
cd third-party-checker
npm install
```## Usage
- Create a `sites.yml` with a list of sites.
- Make the file executable `chmod +x third-party-checker.js`.
- Create a `report` folder.
- Run `./third-party-checker.js sites.yml`.### Crawler
The default command only checks the front page for third party request. If you want to crawl the whole page use the `--crawl` flag.```sh
./third-party-checker.js --crawl sites.yml
```## Sites.yml
```yml
- domain-a.com
- domain-b.com
```## Output
The script will generate a yml file for every site in `sites.yml` in `report/` and a combined file `report/all.yml`