ydx-2147483647 / bulletin-issues-transferred Goto Github PK
View Code? Open in Web Editor NEW汇总 BIT 各种网站的通知。(以及钉钉、RSS插件等)
Home Page: https://haobit.top/notice/
License: MIT License
汇总 BIT 各种网站的通知。(以及钉钉、RSS插件等)
Home Page: https://haobit.top/notice/
License: MIT License
请确保这个来源不需登录就能访问到。
名称:延河。
全名:延河课堂更新日志。
$ https cbiz.yanhekt.cn/v1/notice/list xclient-signature:… xclient-timestamp:… xclient-version:v1 Xdomain-Client:web_user X-TRACE-ID:… Referer:https://www.yanhekt.cn with_brief==false
{
"code": 0,
"data": [
{
"content": "<p></p>",
"created_at": "2023-03-31 17:28:49",
"description": "<p><span style=\"line-height:1.5\"><span style=\"font-size:16px\">1、<span style=\"color:#c0392b\"><strong>全自动、无感</strong></span>课堂考勤</span></span></p><p><span style=\"line-height:1.5\"><span style=\"font-size:16px\">2、<span style=\"color:#c0392b\"><strong>AI识别</strong></span>辅助巡视</span></span></p><p><span style=\"line-height:1.5\"><span style=\"font-size:16px\">3、提升考勤管理效率</span></span></p><p></p><p></p><div class=\"media-wrap image-wrap\"><img class=\"media-wrap image-wrap\" src=\"https://coss.yanhekt.cn/images/75/fb/75fb0f1f56bbc408f6fdab57e73cb9f1.png\" width=\"709px\" height=\"358px\" style=\"width:709px;height:358px\"/></div><p></p><p><span style=\"color:#000000\"><span style=\"font-size:16px\"><span style=\"background-color:#ffffff\">温馨提示:出勤数据基于巡视视频自动识别,准确率受光线、画面清晰度影响较大,识别结果仅供参考哦~</span></span></span></p><p></p><p></p><p></p><p></p><p></p><p></p>",
"id": 8,
"sort": 0,
"status": 1,
"title": "AI技术融入课堂!",
"updated_at": "2023-03-31 17:30:51"
},
…]
"message": ""
}
资实
资产与实验室管理处
https://zsc.bit.edu.cn/xwgg/tzgg/index.htm
.pageList > li
link: a
date: .date
title: .title
Relates-to: #24
群里同学提到的。
新生
迎新动态
https://hi.bit.edu.cn/rxbd/dttzyx/index.htm
.rt01_list > ul > li
No response
No response
希望能像 RSSHub 那样 支持筛选,例如feed.rss?categories=教务部,教学中心
。
可以参考党政部文件《内设机构英文名称、简称、机构代码和公文代字》和机构设置。
比如“求是书院关于开展2021-2022学年社会捐助类助学金(部分&#x...”。
这不能怪我啊,我们学校网站上就不全……
从 2023-10-02 10时(UTC+8)开始,持续访问超时,出问题的通知来源不定。至今(2023-10-09)仍未解决。
file:///…/bulletin-issues-transferred/node_modules/node-fetch/src/index.js:108
reject(new FetchError(`request to ${request.url} failed, reason: ${error.message}`, 'system', error)>
^
FetchError: request to https://ice.bit.edu.cn/xxfw/tzgg1/index.htm failed, reason: connect ETIMEDOUT 114.247.56.92:443
在校外本地运行常常也如此,获取十几个通知来源后就超时。在校内本地运行正常。
Promise.all()
改为串行,或者 sindresorhus/p-all: Run promise-returning & async functions concurrently with optional limited concurrency 。抓取通知 ████████████████████████████████░░░░░░░░ 80% | 20/25 | 已用2s,预计还需1s⚠ 未从“资助公示”获取到任何通知。将忽略。
抓取通知 ████████████████████████████████████████ 100% | 25/25 | 已用2s,预计还需0s
共筛选出272项通知。
未发现新通知。
请确保这个来源不需登录就能访问到。
名称:校医院
选择器(如果你不知道这是什么,或者不想填,可以忽略)
rows
: .list02 > ul > li
(可能还需要link
、date
、title
)
信电
信息与电子学院
https://sie.bit.edu.cn/tzgg/zhtz/index.htm
ul.list8 > li
date: null
这里没写日期,但首页有日期(静态网页,没有API),不过少一些。
宣传部
党委宣传部(新闻中心)
https://xcb.bit.edu.cn/bgzn/tzgg/index.htm
No response
No response
最近一次通知是2022年7月12日,等一个月,看发不发新东西吧。
课程
教学运行(课表、课程调整、选课)
https://jxzx.bit.edu.cn/jxyx/index.htm
div.articleList li
No response
有些事务从教务部、教学运行与考务中心转到了开课学院,所以就从通知公告改到这里了。
除了我自己,还有别人问到这个来源。
招采
招采公告
https://www.bit.edu.cn/tzgg17/zcgg/index.htm
.title_rtcon > ul> li
No response
这在北京理工大学通知公告有,但“最新通知”没包括。
群里同学发现的。
基本上换用“资源访问控制系统”的链接就行,但需要登录。
当前:
http://dekt.bit.edu.cn/http/77726476706e69737468656265737421f4f24a8869326144300d8db9d6562d/portal/CourseView.jsp?course_id=778093140657
期望:
http://dekt.bit.edu.cn/portal/CourseView.jsp?course_id=778093140657
或
http://webvpn.bit.edu.cn/http/77726476706e69737468656265737421f4f24a8869326144300d8db9d6562d/portal/CourseView.jsp?course_id=778093140657
第二课堂的 URL 是相对/
的路径。
<a href="/http/77726476706e69737468656265737421f4f24a8869326144300d8db9d6562d/portal/CourseView.jsp?course_id=674589397079" target="_self">【领航讲堂】《戏剧写作》</a>
其它网站则相对当前页面。
<a href="details.html?id=93"><span class="dot">·</span>2023年美国大学生数学建模竞赛(MCM/ICM)报名通知(2月13日更新)</a>
国际组织创新学院网页的
<style>
内容不合法,多个}
。JSDOM 会转到 stdout,不过不throw
。@media screen and (min-width:996px){.gp-pc-layout-pid-409a2923-67a5-4fc4-8a38-1f5651230f8d:nth-child(1){width: 2 40px;}.gp-pc-layout-pid-409a2923-67a5-4fc4-8a38-1f5651230f8d:nth-child(2){flex: 1;}}}
国际交流
No response
https://abroad.bit.edu.cn/xwtz/tzgg/index.htm
.list_sub li
No response
链接是相对路径。
名称:公开
全名:信息公开
选择器(如果你不知道这是什么,或者不想填,可以忽略)
rows
: .BIT-list01 li
具体来说,最后两个通知是同一天(2021年10月31日)发的,刚好截止在它们俩之间,导致获取通知时有时是第一个,有时是第二个。
而现在一旦获取到新通知,就会把上次的结果“忘记”(覆盖掉),因此常常会把这俩通知当成新的。
发现1项新通知。
1 党政部|关于启用“**北京理工大学先进结构技术研究院委员会”印章的通知
https://dzb.bit.edu.cn/cms/web/search/download.jsp?id=6ac6e41f64c247de985162d2a639e62d
2021/12/21 下午7:26:45
https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fhaobit.top%2Fdev%2Ffeed.rss
This feed does not validate.
[line 1](https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fhaobit.top%2Fdev%2Ffeed.rss#l1), column 12306: XML parsing error: <unknown>:1:12350: not well-formed (invalid token) [[help](https://validator.w3.org/feed/docs/error/SAXError.html)] ... tegory>医学</category></item><item><title>北京理工大学管理与经济学院2024年接收优秀应届本科毕业生推荐免 ...
这儿有个\u000f
。
$ https haobit.top/dev/feed.rss | bat -l rss
…
<title>北京理工大学管理与经济学院2024年接收优秀应届本科毕业生推
荐免试攻读研究生(含本直博生^O...</title>
…
上游网站就不对。
Relates-to: #3
通知的时间并不单调,下游项目无法了解哪些通知是新的,只能自己记录。如果记录获取时间,保证它单调递增且固定,下游只需记录上次更新时间即可。
新字段的名字还没想好,可能叫updated
、fetched_at
、accessd_on
、appeared
、discovered
、seen
等,另外可参考 RFC 4287: The Atom Syndication Format、GB/T 7714—2015《信息与文献 参考文献著录规则》 §8.4.4 公告日期、更新日期、引用日期。
请确保这个来源不需登录就能访问到。
名称:i北理
链接:https://ibitportal.info.bit.edu.cn/helper/bitNotice?key=zxtz10
全名:
选择器
(所有人的key
都一样)
现在可以加入 rssto.email,但无法正常工作。可能是 #1 <pubDate>
不合理导致的。(如下)
Note
- 不是 rssto.email 的问题,因为别的源可以。
- 不是服务器配置问题,因为把别的源复制到服务器上也可以。
通知本身无需登录:
{
"errcode": 0,
"inBoxList": [
{
"author": "行政办公室",
"canDelete": false,
"canEdit": false,
"categoryId": "c05114cba0d6f357e5a4fbdca0bb2369",
"categoryName": "管理公告",
"content": "全体师生员工:根据上级关于新冠肺炎疫情防控工作最新部署,结合校区实际情况,决定于12月9日起解除...",
"corpId": "ding5afe027889e9ac43acaaa37764f94726",
"coverPic": "https://static.dingtalk.com/media/lALPDgCwZVbuosHNARDNAu4_750_272.png",
"coverPicMediaId": "@lALPDgCwZVbuosHNARDNAu4",
"depNameList": [],
"gmtCreate": 1670495851000,
"gmtModified": 1670495873000,
"id": "836d135f0ec8dd34558ad0d905073c17",
"isDefault": 0,
"isPushTop": 1,
"isRead": 1,
"isSmsDing": 0,
"orgId": 186038178,
"privateLevel": 0,
"readCount": 0,
"receiverJson": "{\"deptList\":[405386955,406159094,541031077,580183087,654174513,579914332,406862013,709482470],\"isNewEmpVisible\":false}",
"sendCount": 0,
"status": 0,
"title": "关于学校良乡校区解除闭环管理的通知",
"type": "blackboard",
"url": "https://app.dingtalk.com/blackboard/h5/listNotice?showmenu=true&dd_progress=false&dd_share=true&ddfrom=&logkey=&corpid=ding5afe027889e9ac43acaaa37764f94726#/detail/836d135f0ec8dd34558ad0d905073c17",
"userNameList": []
}
// ……
],
"topNum": 4,
"pageInfo": {
"offset": 0,
"totals": 75
},
"limit": 10,
"errmsg": "ok",
"page": 1,
"isSys": false
}
请确保这个来源不需登录就能访问到。
名称:图书馆
链接:https://lib.bit.edu.cn/engine2/m/7252A82F2C1BEA45?p=264385
选择器(如果你不知道这是什么,或者不想填,可以忽略)
rows
: 【例:.subRight li
】
(可能还需要link
、date
、title
)
另外还有图书馆讲座。
The validator:
This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.
[line 1](https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fhaobit.top%2Fdev%2Ffeed.rss#l1), column 625: Implausible date: Fri, 02 Jun 2023 16:00:00 +0000 [[help](https://validator.w3.org/feed/docs/warning/ImplausibleDate.html)]
... <pubDate>Fri, 02 Jun 2023 16:00:00 +0000</pubDate><link>http://mec.bit.e ...
这可能导致 rssto.email 不收录,每次都认为是新的。
如上图,通知只有 8:00–21:00 会刷新,而不刷新时 rssto.email 也认为那是新通知。
获取到通知时验证时间,若在未来则改为当下。
良乡
良乡校区运行
https://liangxiang.bit.edu.cn/gbtzgg/ggtz/index.htm
No response
No response
最后更新是2022年9月。等2023年9月结束了若还无更新,就放弃。
通知列表显示的不是发布时间,而是课程时间。现在没有正确处理,造成的效果例如”获取到明天的一项的通知“。
点进去会显示发布时间。(2023年3月4日更新:现在点进去也只有“发布时间:”几个字,没有具体发布时间了。)
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.