import requests


def start_request(url, headers=None, params=None, request_type=0):
    if params is None:
        params = {}
    if headers is None:
        headers = {
            # 假装自己是浏览器
            'Accept': '*/*',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) '
                          'Chrome/90.0.4430.212 Safari/537.36 '
        }
    try:
        if request_type == 0:
            response = requests.get(url, headers=headers, params=params)
        else:
            response = requests.post(url, headers=headers, params=params)
        if response.status_code == 200:
            response.encoding = response.apparent_encoding
            return response.text
    except requests.RequestException:
        return None


5af1aedd08bf140fa1bd57a9051fc579c335255c
<mask token>

<mask token>


def start_request(url, headers=None, params=None, request_type=0):
    if params is None:
        params = {}
    if headers is None:
        headers = {'Accept': '*/*', 'User-Agent':
            'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 '
            }
    try:
        if request_type == 0:
            response = requests.get(url, headers=headers, params=params)
        else:
            response = requests.post(url, headers=headers, params=params)
        if response.status_code == 200:
            response.encoding = response.apparent_encoding
            return response.text
    except requests.RequestException:
        return None

import requests


def start_request(url, headers=None, params=None, request_type=0):
    if params is None:
        params = {}
    if headers is None:
        headers = {'Accept': '*/*', 'User-Agent':
            'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 '
            }
    try:
        if request_type == 0:
            response = requests.get(url, headers=headers, params=params)
        else:
            response = requests.post(url, headers=headers, params=params)
        if response.status_code == 200:
            response.encoding = response.apparent_encoding
            return response.text
    except requests.RequestException:
        return None

import requests


def start_request(url, headers=None, params=None, request_type=0):
    if params is None:
        params = {}
    if headers is None:
        headers = {
            # 假装自己是浏览器
            'Accept': '*/*',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) '
                          'Chrome/90.0.4430.212 Safari/537.36 '
        }
    try:
        if request_type == 0:
            response = requests.get(url, headers=headers, params=params)
        else:
            response = requests.post(url, headers=headers, params=params)
        if response.status_code == 200:
            response.encoding = response.apparent_encoding
            return response.text
    except requests.RequestException:
        return None

