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(route/damai): allow to return empty results #17162

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

Konano
Copy link
Contributor

@Konano Konano commented Oct 16, 2024

Involved Issue / 该 PR 相关 Issue

Close #17158

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

/damai/activity/全部/全部/全部/初音未来

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

@github-actions github-actions bot added the Route label Oct 16, 2024
@Konano Konano marked this pull request as ready for review October 16, 2024 08:48
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/damai/activity/全部/全部/全部/初音未来 - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>大麦网票务 - 全国 - 全部分类 - 初音未来</title>
    <link>https://search.damai.cn/search.htm</link>
    <atom:link href="http://localhost:1200/damai/activity/%E5%85%A8%E9%83%A8/%E5%85%A8%E9%83%A8/%E5%85%A8%E9%83%A8/%E5%88%9D%E9%9F%B3%E6%9C%AA%E6%9D%A5" rel="self" type="application/rss+xml"></atom:link>
    <description>大麦网票务 - 全国 - 全部分类 - 初音未来 - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>contact@rsshub.app (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Wed, 16 Oct 2024 08:52:59 GMT</lastBuildDate>
    <ttl>5</ttl>
  </channel>
</rss>

@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Oct 16, 2024
@TonyRL TonyRL merged commit 9dccb13 into DIYgod:master Oct 16, 2024
27 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

大麦的路由在结果为空时会返回错误代码
2 participants