test.py 562 B

12345678910111213
  1. import requests
  2. url = "https://www.ixigua.com/api/searchv2/complex/%E8%80%81%E4%BA%BA%E8%A1%A5%E8%B4%B4/10?order_type=publish_time&click_position=new"
  3. payload={}
  4. headers = {
  5. 'cookie': 'ttwid=1%7Cx_4RDmVTqp6BQ5Xy5AnuCZCQdDyDxv-fnMVWzj19VU0%7C1679382377%7C4e25692dc4b9d5dca56d690001d168b21ed028a9ac075808ab9262238cb405ee; ixigua-a-s=1',
  6. 'referer': 'https://www.ixigua.com/search/%E8%80%81%E4%BA%BA%E8%A1%A5%E8%B4%B4/?logTag=594535e3690f17a88cdb&tab_name=search'
  7. }
  8. response = requests.request("GET", url, headers=headers, data=payload)
  9. print(response.text)