Open u2x1 opened 3 months ago
/gdut/oa_news/:type?
: @Jim KirisameTo maintainers: if you are not willing to be disturbed, list your username in
scripts/workflow/test-issue/call-maintainer.js
. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.
If all routes can not be found, the issue will be closed automatically. Please use NOROUTE
for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE
关键词,或者留下评论。我们会重新审核。
Searching for maintainers:
* `/gdut/oa_news/:type?`: @jim Kirisame
bot 疑似 at 错人了。@jim-kirisame
Searching for maintainers:
* `/gdut/oa_news/:type?`: @jim Kirisame
bot 疑似 at 错人了。@jim-kirisame
现已毕业,没办法试更多信息了。可能是之前的能够从校外访问的 BUG 被修复了,要不试试校内访问?
Searching for maintainers:
* `/gdut/oa_news/:type?`: @jim Kirisame
bot 疑似 at 错人了。@jim-kirisame
现已毕业,没办法试更多信息了。可能是之前的能够从校外访问的 BUG 被修复了,要不试试校内访问?
校外访问通过 https://www.gdut.edu.cn/index/tzgg.htm 右上角的 办公服务-校内通知 可以进去 广工通知公文网,但是只剩下招标公示。 校内访问 广工通知公文网 的话会有校内通知,无需登录就可访问相关信息。但是校内通知页面的网址好像会鉴权,也就是说不能单纯复制校内通知网址进行访问,必须得经过 广工通知公文网 进去才能够查看,不然会强制下线。
广工通知公文网在访问的时候会访问 /ggIP.do?method=checkIP
检查是否为校内 IP,不是的话直接删除页面元素。如果能绕过这个函数或者把 d
改成 true
就能恢复显示了。
// https://oas.gdut.edu.cn/seeyon/portal/pagelayout/element/elements_1200000003.js
var e = this.navData;
e = replaceMenuIcon(e);
var a;
var d = false;
$.ajax({
url: _ctxPath + "/ggIP.do?method=checkIP",
type: "POST",
datatype: "json",
async: false,
success: function (i) {
d = i;
},
error: function () {
alert("查询出错!");
},
});
if (GetQueryString("ticket") == null) {
if (d == "false") {
for (var f = e.length - 1; f >= 0; f--) {
if (e[f].navName != "招标公告") {
e.splice(f, 1);
}
}
}
}
我拿到的这几个 url 分别是(需要有 cookies 记录,否则会返回
__LOGOUT
):* [招标公告](https://oas.gdut.edu.cn/seeyon/ajax.do?method=ajaxAction&managerName=sectionManager&managerMethod=doProjection&arguments=%7B%22x%22%3A%221%22%2C%22y%22%3A%221%22%2C%22xIndex%22%3A%221%22%2C%22sectionBeanId%22%3A%22newsSection%22%2C%22entityId%22%3A%22-6267683573340157670%22%2C%22ordinal%22%3A%220%22%2C%22r_ordinal%22%3A%220%22%2C%22fadd%22%3A%22-1%22%2C%22spaceId%22%3A%22497038097197843112%22%2C%22spaceType%22%3A%22before_login%22%2C%22width%22%3A%223%22%2C%22ownerId%22%3A%22-1730833917365171641%22%2C%22sprint%22%3A%22%22%2C%22sectionWidth%22%3A%22410%22%2C%22sbt%22%3A%220%22%2C%22sst%22%3A%221%22%2C%22b_t%22%3A%22%22%2C%22s_tsc%22%3A%22%22%2C%22s_tbc%22%3A%22%22%2C%22b_s%22%3A%22default%22%2C%22paramKeys%22%3A%5B%22lineHeight%22%2C%22aiSort%22%2C%22aiSortValue%22%2C%22setAiSort%22%5D%2C%22paramValues%22%3A%5B%2235%22%2C%220%22%2C%220%22%2C%220%22%5D%2C%22panelId%22%3A%22-3929440816328915277%22%2C%22bgc%22%3A%22%22%2C%22bodyHeight%22%3A%22448%22%2C%22rf%22%3A%22multiRowThreeColumnTemplete%22%2C%22aiSort%22%3A%220%22%2C%22aiSortValue%22%3A%220%22%7D) * [最新通知](https://oas.gdut.edu.cn/seeyon/ajax.do?method=ajaxAction&managerName=sectionManager&managerMethod=doProjection&arguments=%7B%22x%22%3A%220%22%2C%22y%22%3A%222%22%2C%22xIndex%22%3A%220%22%2C%22sectionBeanId%22%3A%22newsSection%22%2C%22entityId%22%3A%225854888065150372255%22%2C%22ordinal%22%3A%220%22%2C%22r_ordinal%22%3A%220%22%2C%22fadd%22%3A%22-1%22%2C%22spaceId%22%3A%22497038097197843112%22%2C%22spaceType%22%3A%22before_login%22%2C%22width%22%3A%225%22%2C%22ownerId%22%3A%22-1730833917365171641%22%2C%22sprint%22%3A%22%22%2C%22sectionWidth%22%3A%22698%22%2C%22sbt%22%3A%220%22%2C%22sst%22%3A%221%22%2C%22b_t%22%3A%22%22%2C%22s_tsc%22%3A%22%22%2C%22s_tbc%22%3A%22%22%2C%22b_s%22%3A%22default%22%2C%22paramKeys%22%3A%5B%22lineHeight%22%2C%22aiSort%22%2C%22aiSortValue%22%2C%22setAiSort%22%5D%2C%22paramValues%22%3A%5B%2235%22%2C%220%22%2C%220%22%2C%220%22%5D%2C%22panelId%22%3A%228463576657325868697%22%2C%22bgc%22%3A%22%22%2C%22bodyHeight%22%3A%22825%22%2C%22rf%22%3A%22multiRowThreeColumnTemplete%22%2C%22aiSort%22%3A%220%22%2C%22aiSortValue%22%3A%220%22%7D) * [最新简讯](https://oas.gdut.edu.cn/seeyon/ajax.do?method=ajaxAction&managerName=sectionManager&managerMethod=doProjection&arguments=%7B%22x%22%3A%220%22%2C%22y%22%3A%223%22%2C%22xIndex%22%3A%220%22%2C%22sectionBeanId%22%3A%22newsSection%22%2C%22entityId%22%3A%22-4899485396563308862%22%2C%22ordinal%22%3A%220%22%2C%22r_ordinal%22%3A%220%22%2C%22fadd%22%3A%22-1%22%2C%22spaceId%22%3A%22497038097197843112%22%2C%22spaceType%22%3A%22before_login%22%2C%22width%22%3A%224%22%2C%22ownerId%22%3A%22-1730833917365171641%22%2C%22sprint%22%3A%22%22%2C%22sectionWidth%22%3A%22554%22%2C%22sbt%22%3A%220%22%2C%22sst%22%3A%221%22%2C%22b_t%22%3A%22%22%2C%22s_tsc%22%3A%22%22%2C%22s_tbc%22%3A%22%22%2C%22b_s%22%3A%22default%22%2C%22paramKeys%22%3A%5B%22lineHeight%22%2C%22aiSort%22%2C%22aiSortValue%22%2C%22setAiSort%22%5D%2C%22paramValues%22%3A%5B%2235%22%2C%220%22%2C%220%22%2C%220%22%5D%2C%22panelId%22%3A%22-7400282370687679688%22%2C%22bgc%22%3A%22%22%2C%22bodyHeight%22%3A%22448%22%2C%22rf%22%3A%22multiRowThreeColumnTemplete%22%2C%22aiSort%22%3A%220%22%2C%22aiSortValue%22%3A%220%22%7D) * [最新公告](https://oas.gdut.edu.cn/seeyon/ajax.do?method=ajaxAction&managerName=sectionManager&managerMethod=doProjection&arguments=%7B%22x%22%3A%221%22%2C%22y%22%3A%223%22%2C%22xIndex%22%3A%221%22%2C%22sectionBeanId%22%3A%22newsSection%22%2C%22entityId%22%3A%225821359576359193913%22%2C%22ordinal%22%3A%220%22%2C%22r_ordinal%22%3A%220%22%2C%22fadd%22%3A%22-1%22%2C%22spaceId%22%3A%22497038097197843112%22%2C%22spaceType%22%3A%22before_login%22%2C%22width%22%3A%224%22%2C%22ownerId%22%3A%22-1730833917365171641%22%2C%22sprint%22%3A%22%22%2C%22sectionWidth%22%3A%22554%22%2C%22sbt%22%3A%220%22%2C%22sst%22%3A%221%22%2C%22b_t%22%3A%22%22%2C%22s_tsc%22%3A%22%22%2C%22s_tbc%22%3A%22%22%2C%22b_s%22%3A%22default%22%2C%22paramKeys%22%3A%5B%22lineHeight%22%2C%22aiSort%22%2C%22aiSortValue%22%2C%22setAiSort%22%5D%2C%22paramValues%22%3A%5B%2235%22%2C%220%22%2C%220%22%2C%220%22%5D%2C%22panelId%22%3A%2235672547838805983%22%2C%22bgc%22%3A%22%22%2C%22bodyHeight%22%3A%22300%22%2C%22rf%22%3A%22multiRowThreeColumnTemplete%22%2C%22aiSort%22%3A%220%22%2C%22aiSortValue%22%3A%220%22%7D)
那可能是ID或者是API变了,并没有加上鉴权,更新下ID应该就能好
那可能是ID或者是API变了,并没有加上鉴权,更新下ID应该就能好
ID 大概是没变,但是我不太清楚怎么分析新的 API 地址。我开了个 Codespace 发现目前获取到的响应是 __LOGOUT
路由地址
完整路由地址
相关文档
https://docs.rsshub.app/
预期是什么?
正常显示
实际发生了什么?
部署
RSSHub 演示 (https://rsshub.app)
部署相关信息
No response
额外信息
这不是重复的 issue