💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# requests 官网: https://requests.readthedocs.io/zh_CN/latest/ ```python import requests # cookie 到字典 def cookie_to_dic(cookie): cookie_dic = {} for i in cookie.split('; '): cookie_dic[i.split('=')[0]] = i.split('=')[1] return cookie_dic # 请求 res = requests.get(url, cookies=cookie_to_dic(cookie)); ```