https://github.com/elliotwutingfeng/govsgtrustedsites
Machine-readable .txt allowlist of trusted site URLs from the Government of Singapore (https://www.gov.sg/trusted-sites) website.
https://github.com/elliotwutingfeng/govsgtrustedsites
aiohttp allowlist beautifulsoup4 dnsbl pfblockerng pihole python3 singapore singapore-government
Last synced: 7 months ago
JSON representation
Machine-readable .txt allowlist of trusted site URLs from the Government of Singapore (https://www.gov.sg/trusted-sites) website.
- Host: GitHub
- URL: https://github.com/elliotwutingfeng/govsgtrustedsites
- Owner: elliotwutingfeng
- License: bsd-3-clause
- Created: 2022-02-25T16:05:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T06:39:35.000Z (8 months ago)
- Last Synced: 2025-04-22T07:46:12.661Z (8 months ago)
- Topics: aiohttp, allowlist, beautifulsoup4, dnsbl, pfblockerng, pihole, python3, singapore, singapore-government
- Language: Python
- Homepage: https://www.gov.sg/trusted-sites
- Size: 102 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Government of Singapore Trusted Sites



[](LICENSE)
[](https://github.com/elliotwutingfeng/GovSGTrustedSites/actions/workflows/scraper.yml)

Machine-readable `.txt` allowlist of trusted site URLs from the [Government of Singapore](https://www.gov.sg/trusted-sites) website.
**Disclaimer:** _This project is not sponsored, endorsed, or otherwise affiliated with the Government of Singapore._
## Allowlist download
| File | Download |
|:-:|:-:|
| allowlist.txt | [:floppy_disk:](allowlist.txt?raw=true) |
## Requirements
- Python 3.12+
## Setup instructions
`git clone` and `cd` into the project directory, then run the following
```bash
python3 -m venv venv
venv/bin/python3 -m pip install --upgrade pip
venv/bin/python3 -m pip install -r requirements.txt
```
## Usage
```bash
venv/bin/python3 scraper.py
```