Closed BetterAndBetterII closed 5 months ago
源代码直接get请求会得到400错误而报错
# original def get_github_repo_contents(repo_url): # GET https://raw.githubusercontent.com/wxywb/history_rag/master/data/history_24/ 无法获得json数据 response = requests.get(repo_url)
修改为直接使用api.github.com获取文件目录
源代码直接get请求会得到400错误而报错
修改为直接使用api.github.com获取文件目录