Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-10T13:14:27.000Z (about 2 months ago)
- Last Synced: 2024-11-10T14:21:06.995Z (about 2 months ago)
- Topics: aiohttp, allowlist, beautifulsoup4, dnsbl, pfblockerng, pihole, python3, singapore, singapore-government
- Language: Python
- Homepage: https://www.gov.sg/trusted-sites
- Size: 54.7 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
![Python](https://img.shields.io/badge/Python-FFD43B?style=for-the-badge&logo=python&logoColor=blue)
![AIOHTTP](https://img.shields.io/badge/AIOHTTP-2C5BB4?style=for-the-badge&logo=aiohttp&logoColor=white)
![GitHub Actions](https://img.shields.io/badge/GitHub_Actions-2088FF?style=for-the-badge&logo=github-actions&logoColor=white)[![License](https://img.shields.io/badge/LICENSE-BSD--3--CLAUSE-GREEN?style=for-the-badge)](LICENSE)
[![scraper](https://img.shields.io/github/actions/workflow/status/elliotwutingfeng/GovSGTrustedSites/scraper.yml?branch=main&label=SCRAPER&style=for-the-badge)](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
```