import requests


def requestDom(url):
    """
    request 请求判断
    :param url: 请求地址
    :return:    请求数据
    """
    try:
        res = requests.get(url)
        if res.status_code == 200:
            return res.text
    except requests.RequestException:
        return None
    pass