Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (16 loc) · 794 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 794 Bytes

Cloudflare Gateway Adblock

Automatic add gatway lists and rules to Cloudflare

Every day at 2PM Update blocked domain list and upload to Gateway

In create-upload.py edit to your block list location

Maximum 300k in blocklist, automatic limit the list. Gateway restriction.

To get account id run action 3# Get Account ID and will get it in action logs below python script

TNX for code

Add secrets

    CF_API_ACCOUNT_ID (can be get by account-id.py)

    CF_API_EMAIL (your email)

    CF_API_TOKEN (your api token)

    LIST_FNAME_SECRET (name of blocked domain txt file)

    LIST_URLS_SECRET (Blocked lists separete by new line)