Files
RSSHub/lib/routes/shu/namespace.ts
T
GhhG123andTony f59d7dae2b feat(routes/shu): add routes for SHU's Int'l Dept, Grad School, and Campus Highlights. (#17730)
* feat(routes/shu): add routes for SHU's Int'l Dept, Grad School, and Campus Highlights

- Corrected the root URL in `index.ts`.
- Added routes for:
  - SHU's International Department (Int'l Dept).
  - Graduate School (Grad School).
  - Campus Highlights.
- Noted the unavailability of the policy in `jwb.ts` with a comment in `index.ts`.

* Update lib/routes/shu/index.ts

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

* Update lib/routes/shu/jwb.ts

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

* Apply camelCase to variable names across the project.

* Refactor: change to use detailed request format for GET request.

* feat: refine content extraction and fix gs.shu.edu.cn issues

- Refactored content extraction to focus on specific descriptions.
- Added exception handling for inaccessible gs1.shu.edu.cn links.
- Fixed bug where gs.shu.edu.cn content could not be retrieved.
- Fixed Code scanning/ESLint warning: replaced disallowed syntax with .toArray().

* fix: Resolve ESLint warnings and errors

* Update lib/routes/shu/xykd.ts

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

* fix: Resolve ESLint warnings and errors again

* fix: Resolve ESLint warnings and errors

---------
2024-11-28 01:30:00 +08:00

9 lines
204 B
TypeScript

import type { Namespace } from '@/types';
export const namespace: Namespace = {
name: '上海大学',
url: 'www.shu.edu.cn',
description: '上海大学相关网网站',
lang: 'zh-CN',
};