/china-mainland-asn

China mainland ASN classified by major China ISPs, including China Telecom(电信), China Mobile(tietong included; **移动,包含铁通), China Unicom(联通), CERNET(教育网) and CSTNET(**科技网).

Primary LanguagePythonMIT LicenseMIT

china-mainland-asn

Update per 24 hours.

China mainland ASN classified by major China ISPs, including:

  • China Telecom(电信)
  • China Mobile(tietong included; **移动,包含铁通)
  • China Unicom(联通)
  • CERNET(教育网)
  • CSTNET(**科技网)

ASN file

Sources from

  • bgp.he.net/country/CN
  • whois.ipip.net/iso/CN (I don't know why it can't work on github action with requests package but works on my PC. Thus you can try it on you own network condition and the ASN file in this repo won't be collected from this resource)

You can add custom sources and code your custom crawler function in main.py. In addition, dont forget to write down your custom regular expression in config.py if you want.