1、数据预览
2、程序代码
#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author: Roc-xb
"""
import requests
import json
import csv
import time
def get_list(page):
url = "https://capi.tianyancha.com/cloud-tempest/web/searchCompanyV3?_=1697102165468"
payload = json.dumps({
"word": "$",
"sortType": "0",
"pageSize": 20,
"referer": "search",
"type": "tail",
"key": "&#