Skip to content

Conversation

@TonyRL
Copy link
Collaborator

@TonyRL TonyRL commented Jan 3, 2026

Involved Issue / 该 PR 相关 Issue

Close #

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

/patreon/digitalfoundry

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

Copilot AI review requested due to automatic review settings January 3, 2026 01:17
@github-actions github-actions bot added the route label Jan 3, 2026
@TonyRL
Copy link
Collaborator Author

TonyRL commented Jan 3, 2026

/patreon/digitalfoundry digitalfoundry

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the Patreon route by replacing HTML scraping with a direct API call to fetch creator information.

Key Changes:

  • Replaces manual HTML parsing and attribute construction with a direct API call to /api/campaigns/${creatorId}
  • Simplifies the code by using the API response's data.attributes directly instead of manually extracting values from meta tags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2026

Successfully generated as following:

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

Error Message:<br/>FetchError: [GET] &quot;https://www.patreon.com/digitalfoundry&quot;: 403 Forbidden
Route: /patreon/:creator
Full Route: /patreon/digitalfoundry
Node Version: v24.12.0
Git Hash: 1986873a

@TonyRL TonyRL merged commit 9aa55f5 into master Jan 3, 2026
40 checks passed
@TonyRL TonyRL deleted the fix/patreon branch January 3, 2026 01:22
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