(目前只支持下载代码,本地运行)
#1.install
pip3 install scrapy
#2.download cookies.txt file
1.Sign in to Cloud Academy, then use a browser extension to export cookies as cookies.txt.
(For Chrome, you can use the cookies.txt extension)
(The cookies.txt will expire in about two weeks, so you don't need to do this so frequently)
#3.run command in terminal
python3 course_spider.py -course_name=hashicorp-vault -cookies=/Downloads/cookies.txt -outdir=/Downloads/output