A developer. A photographer. A creator. An imaginer.
I love reinventing wheels.
Find me on: GitHub | Twitter | Stack Overflow | Instagram | LinkedIn | Email
Check out my resume: English Version
🦠 Automatically submit BUPT COVID-19 statistics through GitHub Actions / 使用 GitHub Actions 自动填报北邮 COVID-19 疫情信息
License: MIT License
A developer. A photographer. A creator. An imaginer.
I love reinventing wheels.
Find me on: GitHub | Twitter | Stack Overflow | Instagram | LinkedIn | Email
Check out my resume: English Version
如题,我在自己的repository里创建了两个secret,一个是学号,一个是统一教学系统的密码,但是仍然显示run failed,请问各位大佬还有什么需要注意的吗,没弄清楚哪里出现问题了,感激不尽
用户登录中
(node:1769) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings ...
to show where the warning was created)
Sleep for 3082ms...
正在获取前一天的疫情填报信息
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at getDailyReportFormData (file:///home/runner/work/test/test/src/index.ts:69:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///home/runner/work/test/test/src/index.ts:143:22
Error: Unexpected end of JSON input
ELIFECYCLE Command failed with exit code 1.
Error: Process completed with exit code 1.
建议更新readme
用户登录中
(node:1676) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Sleep for 2350ms...
正在获取前一天的疫情填报信息
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at getDailyReportFormData (file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:72:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:146:[22](https://github.com/T-Atlas/bupt-ncov-report-action/runs/6462619786?check_suite_focus=true#step:6:22)
想用该模板给同一个公司(?)出品的其他学校的填报系统整一个。例如:app.cau.edu.cn(**农业大学)
看代码看到了app.bupt.edu.cn,还有若干对应的URL,请问如何找到如下路径的?
const LOGIN = "uc/wap/login/check";
const GET_REPORT = "ncov/wap/default/index";
const POST_REPORT = "ncov/wap/default/save";
请问最近忽然没有运行成功,提示exit code 1是哪里出了问题呀
如果如readme所介绍用template generate一个仓库,则如果上游有更新很难简单的拉一个 PR。
建议修改readme直接fork ^_^
这个自动填报的地址和住址信息是根据上一次填写的信息(在学校填写的)来自动上报的吗,就是说如果从北京回家了,定位还是北京吗
正在获取前一天的疫情填报信息
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at getDailyReportFormData (file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:71:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///home/runner/work/bupt-ncov-report-action/bupt-ncov-report-action/src/index.ts:145:22
Error: Unexpected end of JSON input
ELIFECYCLE Command failed with exit code 1.
Error: Process completed with exit code 1.
开学新增要填报疫情防控通->晨午晚检的要求,建议增加这个自动填报功能。
rt
这个cron格式从0开始就是北京时间8点,可以填-1这样表示7点吗,小弟不是很懂,求解答,谢谢!
请问下,这个是自动定位到北京是吗,能修改到别的地方吗?
填表的原理是什么?
10.取消“疫情防控通”打卡。师生如有发热、乏力、干咳等症状,应及时就医,如有异常情况及时报告,核酸检测阳性人员入驻健康驿站康复。
北京邮电大学疫情防控工作领导小组 2022年12月8日
八月份这个自动打的失败后,就自己停了。现在Fork分支也更新了之后,运行也成功了。但是怎么没有每天按时打啊,怎样才能重新启用啊?
最近,填报应用切换到了学校统一的 OAuth 登录接口,导致脚本无法成功登录。不过因为我已经毕业了,现在没有测试的条件。
填了网关密码和信息门户密码都提示密码不对
是服务器出问题了么?还是打卡更新了
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at getDailyReportFormData (file:///home/runner/work/bupt-nconv/bupt-nconv/src/index.ts:69:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async file:///home/runner/work/bupt-nconv/bupt-nconv/src/index.ts:143:22
Error: Unexpected end of JSON input
ELIFECYCLE Command failed with exit code 1.
Error: Process completed with exit code 1.
server酱微信推送服务 接收打卡信息方便得多.
前一天自动填报成功,今天自动填报失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.