mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2025-09-15 17:39:42 +00:00
Added Google AI, Google Play, Hetzner ASN, OVH ASN
This commit is contained in:
parent
14efcc398e
commit
c727f408a3
7 changed files with 50 additions and 3 deletions
|
@ -13,10 +13,15 @@ IPv6_DIR = 'Subnets/IPv6'
|
|||
|
||||
AS_META = '32934'
|
||||
AS_TWITTER = '13414'
|
||||
AS_HETZNER = '24940'
|
||||
AS_OVH = '16276'
|
||||
|
||||
META = 'meta.lst'
|
||||
TWITTER = 'twitter.lst'
|
||||
TELEGRAM = 'telegram.lst'
|
||||
CLOUDFLARE = 'cloudflare.lst'
|
||||
HETZNER = 'hetzner.lst'
|
||||
OVH = 'ovh.lst'
|
||||
|
||||
# From https://iplist.opencck.org/
|
||||
DISCORD_VOICE_V4='https://iplist.opencck.org/?format=text&data=cidr4&site=discord.gg&site=discord.media'
|
||||
|
@ -122,6 +127,16 @@ if __name__ == '__main__':
|
|||
write_subnets_to_file(ipv4_merged_twitter, f'{IPv4_DIR}/{TWITTER}')
|
||||
write_subnets_to_file(ipv6_merged_twitter, f'{IPv6_DIR}/{TWITTER}')
|
||||
|
||||
# Hetzner
|
||||
ipv4_merged_hetzner, ipv6_merged_hetzner = process_subnets(subnet_list, AS_HETZNER)
|
||||
write_subnets_to_file(ipv4_merged_hetzner, f'{IPv4_DIR}/{HETZNER}')
|
||||
write_subnets_to_file(ipv6_merged_hetzner, f'{IPv6_DIR}/{HETZNER}')
|
||||
|
||||
# OVH
|
||||
ipv4_merged_ovh, ipv6_merged_ovh = process_subnets(subnet_list, AS_OVH)
|
||||
write_subnets_to_file(ipv4_merged_ovh, f'{IPv4_DIR}/{OVH}')
|
||||
write_subnets_to_file(ipv6_merged_ovh, f'{IPv6_DIR}/{OVH}')
|
||||
|
||||
# Discord voice
|
||||
ipv4_discord, ipv6_discord = download_ready_subnets(DISCORD_VOICE_V4, DISCORD_VOICE_V6)
|
||||
write_subnets_to_file(ipv4_discord, f'{IPv4_DIR}/{DISCORD}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue