Commit Graph
339 Commits
Author SHA1 Message Date
Mean c1c757c48d feat: 增加北航集成电路学院 (#13924)
* feat: 增加北航集成电路学院

* refactor: 直接使用路径作为参数

* refactor: migrate to v2

---------
2023-12-01 22:30:42 +08:00
Andvari 92475ea34b fix(route/harvard): replace selector (#13889)
* Update blog.js

* refactor: migrate to v2

---------
2023-11-27 22:46:27 +08:00
Henry Wang d6056e2dbc feat!: allowlist & denylist (#13681)
* feat!: allowlist & denylist

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/i18n/zh/docusaurus-plugin-content-docs/current/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* Update website/docs/install/README.md

* chore: revert

---------
2023-11-03 21:21:17 +08:00
LYT ee256fde4d feat(route): add“武汉大学研究生院” (#13270)
* feat(route): add“武汉大学研究生院”

* fix error CONSTANT_CONDITION

* refactor: migrate to v2

* chore: rename github id

ref: #3643

* fix: whu cs

---------
2023-09-13 01:34:52 +08:00
karinido 4e79abd39d feat(route): add descriptions for nwafu (#13067)
* feat(route): add descriptions for nwafu

docs: update the docs
scriptsformat scripts
refactor: migrate to v2

* Create radar.js

* Update radar.js

* feat(route): fix the route

* Update website/docs/routes/university.md

* Update website/docs/routes/university.md

* Update all.js

* Update all.js

* Update lib/v2/nwafu/all.js

* Update all.js

---------
2023-08-18 19:37:02 +08:00
PyangWU 32889f5f58 feat(route): add 东南大学研究生院公告 (#12958)
* feat(route): add 东南大学研究生院公告

* feat(route): add 东南大学研究生院公告

* add radar

* format scripts

* Update lib/v2/seu/radar.js

* Update lib/v2/seu/yjs.js

* Update lib/v2/seu/yjs.js

* fix redundancy

* refactor: migrate to v2

* fix: typo

---------
2023-08-11 20:59:13 +08:00
东风有意 c41d23d043 fix(route): shu 上海大学 (#12803)
* fix(route): shu 上海大学

* Optimize code and update documentation

- shu/index.js & shu/jwc.js
    - use @/utils/parse-date to parse date
    - change "item.description" from text to HTML
    - change "url.resolve" (deprecated) to "new URL"
    - change the way of mapping "ctx.params.type" to link
        - now it accepts more route types
- university.md
    - update doc for new types
- router.js
    - add an alias because the website changed its host

* Update lib/routes/universities/shu/index.js

* Update lib/routes/universities/shu/jwc.js

* Update docs/university.md

* refactor: migrate to v2

---------
2023-07-18 21:29:18 +08:00
Andvari b378116a71 fix(route/sjtu): gs (#12758)
* fix(route/sjtu): gs

* Correct "Incomplete URL substring sanitization"

* Use built-in etchArticle for Wechat article.

* Update lib/v2/sjtu/radar.js

* Fix missing semicolon.

* Update university.md

* refactor: migrate to v2

rename maintainer GitHub ID from `richardchien` to `stdrc`
https://github.com/DIYgod/RSSHub/pull/4064

* fix(radar): add default case

---------
2023-07-09 22:59:39 +08:00
Ticks fcb92f088a feat(router): 添加武汉纺织大学就业信息 (#12662)
* feat(router): 添加武汉纺织大学就业信息

* 补交wtu-job radar.js

* Update docs/university.md

* feat(router): 添加武汉纺织大学就业信息

* feat(router): 添加武汉纺织大学就业信息

* fix(router): wtu-建议修改和代码优化

* feat(router): wtu-修改建议

* Update lib/v2/wtu/radar.js

* refactor: migrate to v2

---------
2023-06-13 23:30:39 +08:00
Tony 5b6d7cb524 style(eslint): add eslint-plugin-n (#12393) 2023-04-27 05:16:11 +08:00
Tony 8699b4c9d3 fix(route): fix namespace mess from #4283 (#12353)
* refactor: fix scut namespace

* refactor: fix gzhu namespace

* refactor: fix scnu namespace

* refactor: fix hust namespace

* refactor: fix ccnu namespace

* refactor: fix sustech namespace

* refactor: fix szu namespace

remove `/szuyjs` since it's a duplicate of `/szu/yz/:type?`

* refactor: fix tongji namespace

* refactor: fix ocu namespace

* refactor: fix upc namespace

* refactor: fix ucas namespace

* refactor: fix cas namespace

* refactor: fix cau namespace

* refactor: remove `/cucyjs` since `/cuc/yz` existed well before that

* refactor: fix bit namespace

* refactor: fix **undocumented** scau namespace

* fix: typo

* fix: code scan
2023-04-20 09:32:13 +08:00
Tony e00b5aafb7 chore: validate radar source field (#12340)
* chore: validate radar source field

* fix: cebbank guid
2023-04-17 10:37:08 -05:00
mobyw 2aa9dc8d95 feat(route): update and fix route uestc (#12129)
* feat(route): update and fix route uestc

* docs: update uestc route document

* chore: unifi request format
2023-03-17 16:47:26 +08:00
Tony fb1154449e refactor: migrate hitsz to v2 (#11851) 2023-02-14 03:36:19 +08:00
Jiaxi ® 3195eb86f3 fix(route): remove next() from mesalab route (#11835)
* fix(route): remove next() from mesalab route

* refactor: migrate to v2

http://www.sim.cas.cn/xwzx2016/xshd2016/ is dead

---------
2023-02-12 00:36:32 +08:00
SUEPbotandSUEPbot a50e6ff2e0 feat(route): migrate shiep to v2 (#11641)
* feat(route): migrate shiep to v2

* fix(route): fix GHSA-64wp-jh9p-5cg2 in shiep

* chore(route): sort shiep entries in alphabetical order

Co-authored-by: SUEPbot <SUEPbot@users.noreply.github.com>
2023-01-17 23:04:19 +08:00
imbytecat 3706b428b8 fix: ignore shmtu ssl verification & migrate to route v2 (#11403)
* ignore shmtu ssl verification

* migrate route v1 to v2

* fix: add missing radar and maintainer
2022-12-08 03:11:18 +08:00
HuangWei 5339a7239d fix: update ACM-ECNU radar doc (#11381)
* update ACM-ECNU radar doc

* only triggle CI

* refactor: migrate to v2
2022-12-06 03:29:08 +08:00
swwind d6168b9fc6 fix(route): 哈尔滨工业大学(威海)通知公告 (#10801)
* Update today.js

* Update today.js

* refactor: migrate to v2
2022-09-16 19:47:57 +08:00
niuyiand牛鑫语 06d1d824e9 fix(route): 修复中国传媒大学研究生招生网 (#10767)
* 修复中国传媒大学研究生招生网

* fix(route):修复中国传媒大学研究生招生网

* fix(route): 修复中国传媒大学研究生招生网

Co-authored-by: 牛鑫语 <niuxinyu@szbit.cn>
2022-09-13 04:49:17 +00:00
7ef81ae8d8 feat(route): add 哈尔滨工业大学研究生院通知公告 (#10747)
* 添加"哈尔滨工业大学研究生院通知公告"路由

* 修改路由为v2 script

* chore(deps): bump puppeteer from 17.1.2 to 17.1.3 (#1094)

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 17.1.2 to 17.1.3.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v17.1.2...v17.1.3)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update lib/v2/hit/hitgs.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* change code style of hitgs.js

* add radar.js

* change http to https for older HIT files

* refactor: migrate to v2

* docs: fix format

* fix: code scan

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 03:30:11 +08:00
Ethan ShenandTony 28c61bf84a fix(route): 南京信息工程大学研究生院学科建设处 (#10464)
* fix(route): 南京信息工程大学研究生院学科建设处

* fix: deprecated url resolve

* update lib/v2/nuist/yjs.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: typo
2022-08-16 00:01:36 +08:00
2PoL acc04845c8 fix(route): 太原师范路由修复 (#10410)
* fix router tynu.

* refactor: migrate to v2
2022-08-07 01:37:51 +08:00
1d6a70a152 feat(route): add 东北大学医学与生物信息工程学院 (#10349)
* feat(route): add 东北大学医学与生物信息工程学院

* Update lib/routes/universities/neu/bmie.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/routes/universities/neu/bmie.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(route): 更新BMIE 格式化日期、采用V2路由

* Apply suggestions from code review

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(route):采用 pubDate 解析

* refactor: migrate to v2

Co-authored-by: Athena <qingcaomc+zen@gmail.com>
2022-07-31 02:51:59 +08:00
Jim Kirisame 16e2606b17 feat: 添加广东工业大学通知公文网 (#10231)
* feat(route): add 广东工业大学通知公文网

* feat!: remove not working route
2022-07-17 20:10:52 +08:00
SUPER 5c0b7f24cc fix(route): tju oaa news and notification url (#10222)
* fix: tju oaa news and notification url

* fix: tju oaa typo

* doc: add tju oaa English doc

* feat: add `timezone` to tju oaa

* feat(route): migrate tju rss to v2

* chore: update description and doc

* chore: update

* chore: update
2022-07-15 20:30:43 +08:00
odyfandTony d3ce31d48f fix(route): 更新地址Update xygg.js (#10059)
* Update xygg.js

修复地址路由错误

* refactor: migrate to v2

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-07-06 02:22:50 +08:00
Ethan Shen 13a3804e67 feat(route): add 西安交通大学科技处 (#10042)
* feat(route): add 西安交通大学科技处

* fix: deprecated url.resolve
2022-06-28 01:00:22 +08:00
Tony ae2464de6e perf(route): block unnecessary requests in all puppeteer routes (#10010)
* fix: block unnecessary request in all puppeteer routes

* fix(route): prestige-av migrate to v2

* fix(route): ncwu migrate to v2

* fix(route): nju/rczp without puppeteer
2022-06-22 22:54:29 +08:00
Tony eddc76f151 fix(route): xidian (#9865) 2022-06-01 01:39:01 +08:00
Zhiyang Guo ac7b3666d8 fix(route): 南京理工大学 (#9659)
* fix(route): 南京理工大学

* refactor: migrate to v2

* refactor: migrate to v2

* Update yarn.lock

* fix: remove standalone puppeteer extra

* fix(route): minor misc changes

* fix(route): sort routes in alphabetical order

* fix(route): update utils.js
2022-05-03 19:37:58 +08:00
Zhiyang Guo f88e58b493 feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系 (#9666)
* fix(route): 中科大官网通知公告正文内容获取

* refactor: migrate to v2

* feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系

* fix: sort router

* fix: deprecated url.resolve

* fix: fulltext cache

fix: nullish coalescing

fix: data.link

fix: cache.tryGet

* fix: deepscan
2022-05-01 17:36:33 +08:00
Jigsaw a82e9057ca feat(route): add 中南大学计算机学院通知 (#9631)
* feat(route): add 中南大学计算机学院通知

* fix: use nullish coalescing
2022-04-26 19:48:50 +08:00
DylanXie123andTonyRL 10acacfa46 feat(route): add 北京大学学生就业指导服务中心 (#7904)
* feat(route): add 北京大学学生就业指导服务中心

* fix(route): get content from sript tag

request content in script tag to get full text

* fix(doc): fix parameter description

* fix(route): fix header and selector

* add test request and wait

* docs: fix warning

* refactor: migrate to v2

* fix: eecs

refactor: legacy url.resolve

refactor: use parseDate from utils

* docs: fix recruit path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-24 23:14:17 +08:00
尹傲雄 1e11388c90 fix(route): update zju/grs (#9551)
* update zju/grs in university

* refactor: migrate to v2

* fix: add radar

* fix: not working routes

* fix: add migration note

* docs: remove N/A types from physics table

* fix(radar): migrate old rules
2022-04-18 02:04:53 +08:00
Levi ZimandTony 958be6266e feat(route): 山东大学(威海)新闻网 (#9537)
* feat(sduwh): add extractors.

* feat(route): add route for 山东大学(威海)新闻网

* docs: for route sduwh/news

* docs: for route sduwh/news

(cherry picked from commit 831830167a39a658520dd9a46b375fdbbcb5d611)

* feat(radar): for route 山东大学(威海)新闻网

* refactor: change `got.get` to `got`.

* refactor: prefer `parseDate()` to `new Date()`

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: incomplete URL substring sanitization.

Make CodeQL happy.

* fix(radar): fix target field.

* fix: change route /sduwh to /sdu/wh

* fix: remove superfluous slash character in url.

* feat: look for exact date first.

* feat: extract exact date from news extractor.

* feat: extract exact date from view extractor.

* feat: extractor for www.sdrj.sdu.edu.cn

* refactor: semantic separation of sduwh with sdu

* feat(radar): more accurate name

* docs: update documentation

* refactor: migrate to v2

* refactor: fix deprecated url.resolve

* fix: update docs url

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: sdu not working routes

* fix: accurate `ctx.state.data.url`

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: better error handling for extractors.

* fix: timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: better error handling.

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-17 00:01:39 +08:00
Ethan Shen 0c3888787a feat(route): add 大连理工大学 (#8580)
* feat(route): add 大连理工大学

* add radar

* fix: add maintainer

* fix typo

* docs: fix url

* fix: incomplete multi-character sanitization
2022-04-10 23:39:24 +08:00
Qin Ruizhe f3618bb148 feat(route): fix NUAA 教务处/计算机科学与技术学院信息 (#9361)
* feat(route): fix NUAA 教务处/计算机科学与技术学院信息

* refactor: migrate to v2

* fix: deprecated url.resolve
2022-03-25 03:21:32 +08:00
Shao yeandTonyRL ee1eab23d8 fix njupt posts with url redirections (#8961)
* fix njupt posts with url redirections

skip posts that are redirected to error pages due to access control

* fix: migrate to v2

* fix: pubDate depreciated url.resolve

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-13 22:24:06 +08:00
swwind 727f17a15f fix(route): 哈尔滨工业大学(威海)通知公告 (#9303)
* fix(route): 哈尔滨工业大学(威海)通知公告

* fix css selector

* fix: use parseDate
2022-03-11 22:23:56 +08:00
Ethan ShenandTonyRL 8b0deaa7a6 fix(route): 中山大学计算机学院 (#8333)
* fix(route): 中山大学计算机学院

* docs: fix path and paramsDesc

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-25 11:22:51 +08:00
ElliottandTonyRL 7dd591ca82 feat(route): add 信息学院路由 (#7777)
* feat:add 信息学院路由

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-22 22:48:59 +08:00
muxinqiandTonyRL 973a193a37 fix(route): normalize /bwu/news rss output (#7295)
* fix: typo :P

* fix: reduce duplication of jQuery selectors

* fix: reformat invalid author tag

* fix: pubDate use parseDate

fix: replace depreciated url.resolve

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-20 22:13:43 +08:00
Sean Chao 36150c1a4d fix(route): adapt to new sjtu-jwc webpage (#7160)
* fix: adapt to new sjtu-jwc webpage

* fix: use parseDate and null coalescing

* fix style
2022-02-02 19:40:00 +08:00
FatpandacandTony 1fbcede90b Modefy to get all content and change to V2 (#8724)
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-01-22 19:18:25 +00:00
DIYgod efa0018b3f chore: update dependencies 2021-11-28 00:33:37 +00:00
Derek ad2431367c feat(route): change wsyu to v2 (#8594) 2021-11-27 23:31:59 +00:00
TrumanGu 2a5b67304e fix(route): fix njtech jwc host (#8550) 2021-11-27 09:07:39 +00:00
Derek d3a9b3aeb9 feat(route): update to v2 哈尔滨工程大学路由——研究生院、就业服务、工学新闻、水声工程 (#8459) 2021-11-27 08:56:49 +00:00
Lao-Liu233 52f18fc74b fix(route): fzu 适配新版教务处网站 (#8150) 2021-11-27 08:55:53 +00:00