# coding:utf-8
#JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
print("Hello world! - python.jsrun.net .")
import requests
wz = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0', 'cookie': '', 'referer': 'https://www.bilibili.com/video/BV1ZA4m1G75h/?spm_id_from=333.788.recommend_more_video.2&vd_source=c19c6863d3f5846f94d3104729504581'}
res = requests.get(url,headers=wz)
#json 格式 {xxxxxxxxxxxx}
JSON = res.json()
pinglun = JSON['comments']
print(pinglun)