Discord added

This commit is contained in:
itdoginfo
2024-10-13 00:31:33 +03:00
parent a4e5cd437d
commit cd0b19ae46
5 changed files with 11 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=podkop
PKG_VERSION:=0.1.3
PKG_VERSION:=0.1.4
PKG_RELEASE:=1
PKG_MAINTAINER:=ITDog <podkop@itdog.info>

View File

@@ -325,6 +325,7 @@ lists_domains_download() {
list_subnets_download() {
TWITTER_SUBNETS=https://raw.githubusercontent.com/itdoginfo/allow-domains/main/Subnets/IPv4/Twitter.lst
META_SUBNETS=https://raw.githubusercontent.com/itdoginfo/allow-domains/main/Subnets/IPv4/Meta.lst
DISCORD_SUBNETS=https://raw.githubusercontent.com/itdoginfo/allow-domains/refs/heads/main/Subnets/IPv4/Discord.lst
local URL="$1"
case "$URL" in
@@ -334,6 +335,9 @@ list_subnets_download() {
"meta")
URL=$META_SUBNETS
;;
"discord")
URL=$DISCORD_SUBNETS
;;
*)
log "Unidentified list of subnets"
exit 1