Giter Site home page Giter Site logo

imtsuki / bupt-ncov-report-action Goto Github PK

View Code? Open in Web Editor NEW
240.0 4.0 258.0 978 KB

🦠 Automatically submit BUPT COVID-19 statistics through GitHub Actions / 使用 GitHub Actions 自动填报北邮 COVID-19 疫情信息

License: MIT License

JavaScript 2.83% TypeScript 97.17%
bupt

bupt-ncov-report-action's Introduction

bupt-ncov-report-action's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bupt-ncov-report-action's Issues

定位问题

请问下,这个是自动定位到北京是吗,能修改到别的地方吗?

123

填表的原理是什么?

寿终正寝

10.取消“疫情防控通”打卡。师生如有发热、乏力、干咳等症状,应及时就医,如有异常情况及时报告,核酸检测阳性人员入驻健康驿站康复。
北京邮电大学疫情防控工作领导小组 2022年12月8日

有无大佬解决一下我run failed的问题

如题,我在自己的repository里创建了两个secret,一个是学号,一个是统一教学系统的密码,但是仍然显示run failed,请问各位大佬还有什么需要注意的吗,没弄清楚哪里出现问题了,感激不尽

请问这个Action填写的信息是根据啥

这个自动填报的地址和住址信息是根据上一次填写的信息(在学校填写的)来自动上报的吗,就是说如果从北京回家了,定位还是北京吗

拉取更新后还是json异常

用户登录中
(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)

Error: Unexpected end of JSON input

正在获取前一天的疫情填报信息
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.

Action error

我fork之后填了 BUPT_USERNAMEBUPT_PASSWORDTG_BOT_TOKENTG_CHAT_ID这四项
然后re-run 这个Action 出现了这个error

Snipaste_2020-02-28_15-20-20

exit code 1

请问最近忽然没有运行成功,提示exit code 1是哪里出了问题呀

支持 OAuth 登录

最近,填报应用切换到了学校统一的 OAuth 登录接口,导致脚本无法成功登录。不过因为我已经毕业了,现在没有测试的条件。

JSON需要更新

用户登录中
(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.

如何找到网关和若干URL的?

想用该模板给同一个公司(?)出品的其他学校的填报系统整一个。例如: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";

Unexpected end of JSON input

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.