Skip to content

Conversation

@dreaifekks
Copy link
Contributor

@dreaifekks dreaifekks commented Jan 26, 2026

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

Clarify YouTube API key(YouTube Data API v3 enable) requirement for live route in document.

@github-actions github-actions bot added route auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Jan 26, 2026
@github-actions
Copy link
Contributor

Successfully generated as following:

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

Error Message:<br/>NotFoundError:
Route: /youtube/live
Full Route: /youtube/live
Node Version: v24.13.0
Git Hash: 0ca994ac

@github-actions github-actions bot added auto: not ready to review Users can't get the RSS feed output according to automated testing results and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Jan 26, 2026
@github-actions
Copy link
Contributor

Successfully generated as following:

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

Error Message:<br/>NotFoundError:
Route: /youtube/live
Full Route: /youtube/live
Node Version: v24.13.0
Git Hash: 44178364

Updated the description for the YOUTUBE_KEY configuration to include a link to the YouTube Data API v3.
@github-actions github-actions bot added auto: not ready to review Users can't get the RSS feed output according to automated testing results and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Jan 26, 2026
@github-actions
Copy link
Contributor

Successfully generated as following:

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

Error Message:<br/>NotFoundError:
Route: /youtube/live
Full Route: /youtube/live
Node Version: v24.13.0
Git Hash: b8c94ea3

@github-actions github-actions bot added auto: route test bypassed auto: not ready to review Users can't get the RSS feed output according to automated testing results and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Jan 26, 2026
@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/youtube/live/@weathernews - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>ConfigNotFoundError: YouTube RSS is disabled due to the lack of &lt;a href=&quot;https://docs.rsshub.app/deploy/config#route-specific-configurations&quot;&gt;relevant config&lt;/a&gt;
Route: /youtube/live/:username/:embed?
Full Route: /youtube/live/@weathernews
Node Version: v24.13.0
Git Hash: 2aa4511d

@dreaifekks
Copy link
Contributor Author

can not use YOUTUBE_KEY for action?

@github-actions github-actions bot removed the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Jan 26, 2026
@TonyRL
Copy link
Collaborator

TonyRL commented Jan 26, 2026

I don't think people will use API key with YouTube analytics/reporting API. Regarding YouTube Data API v2, it was deprecated well before RSSHub exists.

@dreaifekks
Copy link
Contributor Author

Yes, I updated the URL to https://console.cloud.google.com/apis/library/youtube.googleapis.com. This makes it easier for users to enable the YouTube Data API v3.

image

If the API is not enabled, the route fails as shown below.

image

Reason: This error occurs in /lib/routes/youtube/live.ts at line 64 because the data retrieved via utils.getLive (at line 58) returns null when the API is disabled.

After enabling the API, it works correctly:
image

@TonyRL TonyRL merged commit 895672f into DIYgod:master Jan 26, 2026
31 checks passed
@dreaifekks dreaifekks deleted the fix/youtube_live_route_error branch January 27, 2026 04:28
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