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

fix: catch Invalid Date #17081

Merged
merged 1 commit into from
Oct 11, 2024
Merged

fix: catch Invalid Date #17081

merged 1 commit into from
Oct 11, 2024

Conversation

hyoban
Copy link
Sponsor Contributor

@hyoban hyoban commented Oct 11, 2024

Involved Issue / 该 PR 相关 Issue

Close #

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

NOROUTE

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 / 说明

When using https://docs.rsshub.app/routes/other#transformation-html to convert site to html, an Invalid Date may be obtained, causing the content to be unable to be returned.

@github-actions github-actions bot added the Auto: Route Test Skipped PR involves no routes label Oct 11, 2024
@TonyRL TonyRL merged commit a4daf28 into DIYgod:master Oct 11, 2024
33 of 34 checks passed
bxb100 added a commit to Lemon-Fork-Repository/RSSHub that referenced this pull request Oct 13, 2024
* DIYgod/master:
  feat(route): add route UK Parliament Commons Library research by topic (DIYgod#16941)
  feat(route): add route UK Parliament Lords Library research by topic (DIYgod#16933)
  fix(route): change url in `/tvb/news` (DIYgod#17098)
  chore(deps): bump @hono/node-server from 1.13.1 to 1.13.2 (DIYgod#17088)
  chore(deps): bump @scalar/hono-api-reference from 0.5.152 to 0.5.153 (DIYgod#17085)
  chore(deps-dev): bump @babel/preset-env from 7.25.7 to 7.25.8 (DIYgod#17087)
  feat(route): also support podcast id in xiaoyuzhou
  fix: catch Invalid Date (DIYgod#17081)
  chore(deps): bump undici from 6.19.8 to 6.20.0 (DIYgod#17058)

# Conflicts:
#	lib/routes/xiaoyuzhou/podcast.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants