mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-17 05:11:57 +08:00
c41d23d043
* 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
---------
5 lines
87 B
JavaScript
5 lines
87 B
JavaScript
module.exports = {
|
|
'/:type?': ['lonelyion'],
|
|
'/jwb/:type?': ['tuxinghuan'],
|
|
};
|