Yuwang Cai
Yuwang Cai
> 你好,我抓取的cookie中只有一个asessionid,和要求的格式不对,请问是如何抓取正确的sessionid?  这张图应该写的挺清晰的了;要注意是从公众号里进入,而不是小程序。
> https://idas.uestc.edu.cn/authserver/login?service=https%3A%2F%2Fjzsz.uestc.edu.cn%2Fepidemic > > 通过这个链接或许可以实现用账号密码登录打卡,但是学校的统一身份验证页面,所以有滑动验证码,比较麻烦,估计需要用selenium等方式才行,登录成功后会跳转,跳转的页面的cookie中可以获得sessionid 确实,selenium 的方法我之前考虑过,但是滑动验证码我暂时解决不了; 感觉要上 CV 太麻烦了,或者就是要依赖[超级鹰](http://www.chaojiying.com/)这样的第三方验证码破解平台(不过要花钱)
> 这里找到了一些校友写的过统一登录滑动验证码的代码,或许可以参考一下? https://github.com/b71db892/AutoCheckInUESTC/blob/main/driver.py https://github.com/onion-rain/uestc_health_report/blob/main/slide.py https://github.com/YannLeo/UESTC_student_health_report/blob/main/morning.py https://github.com/JhonarraonCSDN/Health_ClockIn_UESTC/blob/main/Health_ClockIn.py 感谢,第二个很有用!但近几个月事情比较多,没有办法维护这个项目,等事情少了会尽快更新的!
> > 好,你能帮我找找吗,足够多我就加进去。 > > 什么懒狗sweat 精神分裂是吧
JS有原生的深拷贝API `structuredClone`: ```js const obj1 = { a: 1 }; const obj2 = structuredClone(obj1); obj2.a = 2; console.log(obj1); // { a: 1 } console.log(obj2); // { a: 2 } ```
`process.env` 里也可以看到 node 版本号,比如 `NODE`, `_` 这两个字段的值。 个人是用的 NVM,没有在原生的 node 上试过,但后者的 `process.env` 应该也有。
I got the same problem under `WSL2(Ubuntu-20.04)`. Reading of "config.json" and clipboard seems to be working well, but **an error occurs when attempting to read the root directory of VSCode...
遇到类似问题。 如果在 Modal 上使用 `useClickAway` 的话: - 监听 `click` 导致 Modal 根本打不开。(打开那一下点击也被算作了 "clickAway",于是 Modal 马上被关闭) - 监听 `mousedown` 则一切正常。 复现链接:[useClickAway for modals](https://stackblitz.com/edit/react-ts-j7a5xn?file=App.tsx)
Still an issue in v2.1.5.  Anyway coercion is always a workaround, but it is still strange because #2301 seems to have fixed this with `BlockingData`, and my config parameter...
None of these solutions work on my side. Only rolling back to version `22.10.16.0` works. I'm using version `24.3.31.0` on Windows 11. ``` wsl --version WSL version: 2.1.5.0 Kernel version:...