当我尝试查看cookie时-我运行以下命令:我得到了一个包含许多cookie条目的列表。
我认为这给我的抓取脚本带来了一些错误。,进入下载页面--但是,当我发送请求时,我收到一条消息:"Error: To register with the site you you enable your browser to accept cookies
在Vue.js项目中,如何获得csrftoken?我试过使用js-cookie,但无法得到它:
if (Cookies.get('csrftoken')!==undefined) { // there will skip, because the Cookies.get('csrftoken') is undefined