Skip to content

fix: remove hard-coded UA and use header presets#21559

Merged
TonyRL merged 1 commit intomasterfrom
fix/no-hard-code-ua
Mar 30, 2026
Merged

fix: remove hard-coded UA and use header presets#21559
TonyRL merged 1 commit intomasterfrom
fix/no-hard-code-ua

Conversation

@TonyRL
Copy link
Copy Markdown
Collaborator

@TonyRL TonyRL commented Mar 30, 2026

Involved Issue / 该 PR 相关 Issue

Close #

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

/ddosi/category/黑客工具
/qiche365/recall/1
/qidian/author/9639927

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 Mar 30, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b64ceb809b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions github-actions bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Mar 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/ddosi/category/黑客工具 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.ddosi.org/category/黑客工具/&quot;: 403 Forbidden
Route: /ddosi/category/:category?
Full Route: /ddosi/category/黑客工具
Node Version: v24.14.1
Git Hash: 7d059813
http://localhost:1200/qiche365/recall/1 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://www.qiche365.org.cn/index/recall/index/item/1.html?loadmore=1&quot;: &lt;no response&gt; fetch failed
Route: /qiche365/recall/:channel
Full Route: /qiche365/recall/1
Node Version: v24.14.1
Git Hash: 7d059813
http://localhost:1200/qidian/author/9639927 - 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://my.qidian.com/author/9639927/</link>
    <atom:link href="http://localhost:1200/qidian/author/9639927" 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>Mon, 30 Mar 2026 16:25:47 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>灵境行者</title>
      <description>亘古通今,传闻世有灵境。关于灵境的说法,历朝历代的名人雅士众说纷纭,诗中记载:“自齐至唐,兹山濅荒,灵境寂寥,罕有人游。”“灵境不可状,鬼工谅难求。”</description>
      <link>https://book.qidian.com/info/1031940621/</link>
      <guid isPermaLink="false">https://book.qidian.com/info/1031940621/</guid>
      <author>卖报小郎君</author>
      <category>科幻</category>
    </item>
    <item>
      <title>大奉打更人</title>
      <description>《大奉打更人》(第一卷)实体书已在天猫、当当、京东等全平台,以及各个实体书店发售。这个世界,有儒;有道;有佛;有妖;有术士。警校毕业的许七安幽幽醒来,发现自己身处牢狱之中,三日后流放边陲.....他起初的目的只是自保,顺便在这个没有人权的社会里当个富家翁悠闲度日。......多年后,许七安回首前尘,身后是早已逝去的敌人,以及累累白骨。滚滚长江东逝水,浪花淘尽英雄,是非成败转头空。青山依旧在,几度夕阳红。</description>
      <link>https://book.qidian.com/info/1019664125/</link>
      <guid isPermaLink="false">https://book.qidian.com/info/1019664125/</guid>
      <author>卖报小郎君</author>
      <category>仙侠</category>
    </item>
    <item>
      <title>原来我是妖二代</title>
      <description>李羡鱼二十岁那年,收到了父亲的遗产,一个年芳十八,貌美如花的祖奶奶。李羡鱼:“祖奶奶,为什么你这么年轻。”祖奶奶:“因为我十八那年就死了。”李羡鱼:Σ(っ°Д°;)っ原来我是妖二代书友群:865624986里面个个都是人才,说话又好听,书友们加了群,就像回了家一样。</description>
      <link>https://book.qidian.com/info/1012894975/</link>
      <guid isPermaLink="false">https://book.qidian.com/info/1012894975/</guid>
      <author>卖报小郎君</author>
      <category>都市</category>
    </item>
  </channel>
</rss>

@github-actions
Copy link
Copy Markdown
Contributor

Auto Review

No clear rule violations found in the current diff.

@TonyRL TonyRL added auto: ready to review and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Mar 30, 2026
@TonyRL TonyRL merged commit 7d2baa8 into master Mar 30, 2026
65 of 67 checks passed
@TonyRL TonyRL deleted the fix/no-hard-code-ua branch March 30, 2026 16:40
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.

1 participant