mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2025-09-02 10:40:14 +00:00
Add DO
This commit is contained in:
parent
9887fa722d
commit
d6db5a3e02
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,7 @@ AS_META = '32934'
|
||||||
AS_TWITTER = '13414'
|
AS_TWITTER = '13414'
|
||||||
AS_HETZNER = '24940'
|
AS_HETZNER = '24940'
|
||||||
AS_OVH = '16276'
|
AS_OVH = '16276'
|
||||||
|
AS_DO = '14061'
|
||||||
|
|
||||||
META = 'meta.lst'
|
META = 'meta.lst'
|
||||||
TWITTER = 'twitter.lst'
|
TWITTER = 'twitter.lst'
|
||||||
|
@ -22,6 +23,7 @@ TELEGRAM = 'telegram.lst'
|
||||||
CLOUDFLARE = 'cloudflare.lst'
|
CLOUDFLARE = 'cloudflare.lst'
|
||||||
HETZNER = 'hetzner.lst'
|
HETZNER = 'hetzner.lst'
|
||||||
OVH = 'ovh.lst'
|
OVH = 'ovh.lst'
|
||||||
|
DO = 'do.lst'
|
||||||
|
|
||||||
# From https://iplist.opencck.org/
|
# From https://iplist.opencck.org/
|
||||||
DISCORD_VOICE_V4='https://iplist.opencck.org/?format=text&data=cidr4&site=discord.gg&site=discord.media'
|
DISCORD_VOICE_V4='https://iplist.opencck.org/?format=text&data=cidr4&site=discord.gg&site=discord.media'
|
||||||
|
@ -137,6 +139,11 @@ if __name__ == '__main__':
|
||||||
write_subnets_to_file(ipv4_merged_ovh, f'{IPv4_DIR}/{OVH}')
|
write_subnets_to_file(ipv4_merged_ovh, f'{IPv4_DIR}/{OVH}')
|
||||||
write_subnets_to_file(ipv6_merged_ovh, f'{IPv6_DIR}/{OVH}')
|
write_subnets_to_file(ipv6_merged_ovh, f'{IPv6_DIR}/{OVH}')
|
||||||
|
|
||||||
|
# Digital Ocean
|
||||||
|
ipv4_merged_do, ipv6_merged_do = process_subnets(subnet_list, AS_DO)
|
||||||
|
write_subnets_to_file(ipv4_merged_do, f'{IPv4_DIR}/{DO}')
|
||||||
|
write_subnets_to_file(ipv6_merged_do, f'{IPv6_DIR}/{DO}')
|
||||||
|
|
||||||
# Discord voice
|
# Discord voice
|
||||||
ipv4_discord, ipv6_discord = download_ready_subnets(DISCORD_VOICE_V4, DISCORD_VOICE_V6)
|
ipv4_discord, ipv6_discord = download_ready_subnets(DISCORD_VOICE_V4, DISCORD_VOICE_V6)
|
||||||
write_subnets_to_file(ipv4_discord, f'{IPv4_DIR}/{DISCORD}')
|
write_subnets_to_file(ipv4_discord, f'{IPv4_DIR}/{DISCORD}')
|
||||||
|
|
Loading…
Add table
Reference in a new issue