diff --git a/README.md b/README.md index 928982b..4e472f6 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,4 @@ vim config.yaml # 根据配置文件内部的注释编辑 npm start # 启动脚本 ``` +如果你还是不会,请去看detail版 diff --git a/assets/0.png b/assets/0.png new file mode 100644 index 0000000..66d837f Binary files /dev/null and b/assets/0.png differ diff --git a/assets/1.png b/assets/1.png new file mode 100644 index 0000000..822cff8 Binary files /dev/null and b/assets/1.png differ diff --git a/assets/2.png b/assets/2.png new file mode 100644 index 0000000..9ef3a13 Binary files /dev/null and b/assets/2.png differ diff --git a/assets/3.png b/assets/3.png new file mode 100644 index 0000000..b0dbb2f Binary files /dev/null and b/assets/3.png differ diff --git a/readme_detail.md b/readme_detail.md new file mode 100644 index 0000000..dfd9767 --- /dev/null +++ b/readme_detail.md @@ -0,0 +1,34 @@ +首先,确保你安装了nodejs + +将config.yaml.example 直接改名为config.yaml(注意你可能设置了隐藏文件后缀) + +打开这个文件,编辑cookie和要抢的课 + + + +![img](assets/0.png) +这个界面,按f12找到控制台, +![img](assets/1.png) +找到这个界面,然后点进入选课的按钮,把监听到的这个cookie复制到文件的cookie属性的值里 +![img](assets/2.png) +要复制全 + +然后编辑你想抢的课,其余的不用管 + +然后在项目文件夹目录下(就是sdu-course-bot文件夹)启动cmd(确保你的cmd路径是这个文件夹) + +执行 + +``` +npm i + +npm start +``` + + + +成功的话: + +![](assets/3.png) + +(注意路径,然后静待就好)(不要把这个cmd关掉) \ No newline at end of file