def download(probID, path=pathlib.Path().cwd(), website=None):
global websiteObject
login(website)
path = pathlib.Path(path)
url = websiteObject.get_question(probID)
html = requests.get(url).text
question_file = open(path / (probID + ".html"), 'w')
question_file.write(html)
question_file.close()
评论列表
文章目录