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

MartinatorTime/Cloudflare-adblock-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages