域名

创建日期:2024-10-11
更新日期:2024-12-26

域名注册

万网域名注册:域名注册_域名查询_域名申请_域名购买_域名续费_国际域名-万网-阿里云品牌 (aliyun.com)

腾讯域名注册:域名注册_免费智能DNS_域名交易_域名购买申请 - DNSPod - 腾讯云官网 (tencent.com)

华为域名注册:域名注册_域名购买_域名查询_网页域名注册申请-华为云 (huaweicloud.com)

域名价格

万网域名价格:产品价格总览-万网-阿里云旗下品牌 (aliyun.com)

腾讯域名价格:域名价格 - 域名注册 - 腾讯云_域名购买_交易选购_转入续费_DNSPod (tencent.com)

华为域名价格:价格计算器_pricing -华为云 (huaweicloud.com)

域名查询

批量查询没有被注册的域名:域名批量注册-高级版 (aliyun.com)

查询github未被占用的用户名

import requests
import time

file = open("./unuse.txt", "w")
error_file = open("./error.txt", "w")

for i in range(ord("a"), ord("z") + 1):
    for j in range(ord("a"), ord("z") + 1):
        username = chr(i) + chr(j) + "lab"
        url = f"https://github.com/{username}"
        resp = requests.get(url, proxies={"http": "http://localhost:10809"})
        if resp.ok:
            print(f"use {username}")
            time.sleep(1)
        elif resp.status_code == 404:
            print(f"find {username}")
            file.write(username + "\n")
            file.close()
            file = open("./unuse.txt", "a")
            time.sleep(1)
        else:
            error_file.write(username + "\n")
            error_file.flush()
            print(f"Error {resp.status_code}: {resp.reason}")

file.close()
error_file.close()