Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 19 commits into from

Conversation

YouXam
Copy link

@YouXam YouXam commented Apr 14, 2024

Involved Issue / 该 PR 相关 Issue

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

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

/bupt/news
/bupt/news/1154

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

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

Note / 说明

Limit

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

Need to have BUPT network environment.

@github-actions github-actions bot added the Route label Apr 14, 2024
@YouXam
Copy link
Author

YouXam commented Apr 14, 2024

@TonyRL

About this pr: #15156 (comment)

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

Copy link
Contributor

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 github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Apr 14, 2024
[pull] master from diygod:master
Copy link
Contributor

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>

[pull] master from diygod:master
Copy link
Contributor

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>

Copy link
Contributor

github-actions bot commented May 8, 2024

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 github-actions bot added the Stale No feedback from OP label May 8, 2024
Copy link
Contributor

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

@github-actions github-actions bot closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route Stale No feedback from OP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant