import requests

url = "https://api.coolapk.com/v6/page/dataList?url=%23%2Fproduct%2FhotProductList%3FhotType%3Dday%26withConfigCard%3D1%26configCardExtraData%3D%257B%2522withRanking%2522%253A1%257D&title=%E7%83%AD%E5%BA%A6%E6%A6%9C&page=1&firstItem=4283"

headers = {
  'User-Agent': "Dalvik/2.1.0 (Linux; U; Android 13; 23049RAD8C Build/TKQ1.221114.001) (#Build; Redmi; 23049RAD8C; TKQ1.221114.001 test-keys; 13) +CoolMarket/14.0.0-2401171-universal",
  'Connection': "Keep-Alive",
  'Accept-Encoding': "gzip",
  'X-Requested-With': "XMLHttpRequest",
  'X-Sdk-Int': "33",
  'X-Sdk-Locale': "zh-CN",
  'X-App-Id': "com.coolapk.market",
  'X-App-Token': "v3JDJ5JDEwJE5qaGpObVJpTkRZdk1EVTVORGxpTi5XNDFxTUdXQjVsRzB1NWdEY1pXdmJjQUMyWEFnRE1X",
  'X-App-Version': "14.0.0",
  'X-App-Code': "2401171",
  'X-Api-Version': "14",
  'X-App-Device': "0UzMjlTZ1MWZyYDNlVTM3AyOzlXZr1CdzVGdgEDMw4CNxETMyIjLxE1SUByODhDRBJVO0AzMyAyOp1GZlJFI7kWbvFWaYByOgsDI7AyOhV2TqNXYVdWR3cXQ6hjZYNTWORkY5IXajZzbOl0bfpkaIVFR",
  'X-Dark-Mode': "1",
  'X-App-Channel': "yyb",
  'X-App-Mode': "universal",
  'X-App-Supported': "2401171",
  'Cookie': "ddid=f8600b13-4ac2-4207-8541-9cec299202ac"
}

response = requests.get(url, headers=headers)

print(response.text)