RSSHub icon indicating copy to clipboard operation
RSSHub copied to clipboard

feat(route): Add 北京邮电大学校内通知/新闻

Open YouXam opened this issue 1 year ago • 5 comments

Involved Issue / 该 PR 相关 Issue

Add 北京邮电大学校内通知/新闻

Example for the Proposed Route(s) / 路由地址示例

/bupt/news
/bupt/news/1154

New RSS Route Checklist / 新 RSS 路由检查表

  • [x] New Route / 新的路由
  • [ ] Anti-bot or rate limit / 反爬/频率限制
    • [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • [x] Date and time / 日期和时间
    • [x] Parsed / 可以解析
    • [x] Correct time zone / 时区正确
  • [ ] New package added / 添加了新的包
  • [ ] Puppeteer

Note / 说明

Limit

需要有北京邮电大学校园网环境。

Need to have BUPT network environment.

YouXam avatar Apr 14 '24 08:04 YouXam

@TonyRL

About this pr: https://github.com/DIYgod/RSSHub/pull/15156#discussion_r1556143180

I keep getting the "body is unusable" error when using ofetch.raw. So I use undici, which is also not in devDependencies.

YouXam avatar Apr 14 '24 08:04 YouXam

Successfully generated as following:

http://localhost:1200/bupt/news - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">8f4b4899</code>
http://localhost:1200/bupt/news/1154 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news/1154</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">8f4b4899</code>

github-actions[bot] avatar Apr 14 '24 08:04 github-actions[bot]

Successfully generated as following:

http://localhost:1200/bupt/news - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">1f867803</code>
http://localhost:1200/bupt/news/1154 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news/1154</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">1f867803</code>

github-actions[bot] avatar Apr 14 '24 20:04 github-actions[bot]

Successfully generated as following:

http://localhost:1200/bupt/news - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">2cd7b378</code>
http://localhost:1200/bupt/news/1154 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/><code class="mt-2 block max-h-28 overflow-auto bg-zinc-100 align-bottom w-fit details">TypeError: fetch failed</code>
Route: <code class="ml-2 bg-zinc-100">/bupt/news/:treeid?</code>
Full Route: <code class="ml-2 bg-zinc-100">/bupt/news/1154</code>
Node Version: <code class="ml-2 bg-zinc-100">v21.7.3</code>
Git Hash: <code class="ml-2 bg-zinc-100">2cd7b378</code>

github-actions[bot] avatar Apr 15 '24 11:04 github-actions[bot]

This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days.

github-actions[bot] avatar May 08 '24 23:05 github-actions[bot]

This PR was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar May 16 '24 23:05 github-actions[bot]