DIYgod / RSSHub

🧡 Everything is RSSible
https://docs.rsshub.app
MIT License
33.21k stars 7.4k forks source link

Youtube Community - Error message: Cannot read properties of undefined (reading 'regExp') #12116

Closed jiongjiongzj closed 1 year ago

jiongjiongzj commented 1 year ago

路由地址

/youtube/community/:handle

完整路由地址

/youtube/community/UCR6qhsLpn62WVxCBK1dkLow

相关文档

https://docs.rsshub.app/social-media.html#youtube

预期是什么?

正常抓取Youtube社区页面的内容

实际发生了什么?

无法抓取,显示以下报错信息: Route requested: /community/UCR6qhsLpn62WVxCBK1dkLow Error message: Cannot read properties of undefined (reading 'regExp') Helpful Information to provide when opening issue: Path: /community/UCR6qhsLpn62WVxCBK1dkLow Node version: v16.19.1 Git Hash: 48570cc

部署

自建

部署相关信息

OS: Linux, Node: v16.19.1, Docker: 20.10.21

额外信息

Route requested: /community/UCR6qhsLpn62WVxCBK1dkLow
Error message: Cannot read properties of undefined (reading 'regExp')
Helpful Information to provide when opening issue:
Path: /community/UCR6qhsLpn62WVxCBK1dkLow
Node version: v16.19.1
Git Hash: 48570cc

实测RSSHub演示地址抓取正常,但是自建服务抓取失败。把community换成channel用来抓取视频页面内容没有问题,加上community的规则是近期添加的,猜测可能是规则问题或者我少配置了重要的环境变量(我只填了YOUTUBE_KEY,没有填OAuth 2.0相关的3个变量)。

这不是重复的 issue

github-actions[bot] commented 1 year ago
Searching for maintainers:

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

如果有任何路由无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。 If there is any route not found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.

jiongjiongzj commented 1 year ago
Searching for maintainers:
  • /youtube/community/:handle: Route not found

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

如果有任何路由无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。 If there is any route not found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.

这个路由是已经存在的。

TonyRL commented 1 year ago

/test

/youtube/community/UCR6qhsLpn62WVxCBK1dkLow
github-actions[bot] commented 1 year ago

Successfully generated as following:

http://localhost:1200/youtube/community/UCR6qhsLpn62WVxCBK1dkLow - Success ```rss <![CDATA[Enna Alouette【NIJISANJI EN】 - Community - YouTube]]> https://www.youtube.com/channel/UCR6qhsLpn62WVxCBK1dkLow RSSHub i@diygod.me (DIYgod) zh-cn Thu, 16 Mar 2023 17:56:32 GMT 5 <![CDATA[Hey everyone, make sure you take extra care of yourselves. Just a gentle reminder to take a step back & pace yourselves at your own speed. The morale ...]]>
请把你的想法和感受写下来。❤️
今天对每个人来说都是一个艰难的日子 。

自分の思いを書き留めてみてください。💕
今日はみんなにとって大変な一日 。
]]>
Fri, 10 Mar 2023 17:56:32 GMT https://www.youtube.com/post/UgkxuuYsmC5XirPTalMc3rpWFVJW0SJMBLTC https://www.youtube.com/post/UgkxuuYsmC5XirPTalMc3rpWFVJW0SJMBLTC
<![CDATA[_ROLL DAT DOUGH (Extended Ver.) LYRICS_ "Yeah, What's good Uh, this one's for you Diego We know we both dead inside Let's hit it" I do the rocking wit...]]>
"Yeah, What's good
Uh, this one's for you Diego
We know we both dead inside
Let's hit it"

I do the rocking with my boy in the street downtown
Smelling something goodly lookin' for it like a clown
Oh shit I see burritos and tacos!? amigos
Let's go my friends, and drag it low

I know there's no meaning left in this old soul
Roll that dough, fill my emptiness, slow

Working to pay, everyday
Slaving away to society
Fucking cliche I'm breaking away
Ay, ay, enchiladas will you not help me, release my dismay

Oh, I'm back
To my meaningless cold soul
Roll that dough, fill my emptiness, slow

We roll that dough
Don't get in the way of my burrito
Although I must confess
Soy un poco estúpido

But it's okay I'll get my fix
with that perfect burrito mix
Beef and rice gets me high
Only the bestie knows why
No other food could even tie

Can't you see, I'm crying every night baby
My life's a fraud, full of maybes
Tell me one thing that won't betray me
Misery is familiarity

Oh, I'll dance with my meaningless cold soul
Roll that dough, fill my emptiness, slow
]]>
Thu, 09 Mar 2023 17:56:32 GMT https://www.youtube.com/post/UgkxHztHLMKgIsd51rdh0egUJ_ibu3TzQbbV https://www.youtube.com/post/UgkxHztHLMKgIsd51rdh0egUJ_ibu3TzQbbV
<![CDATA[【Week: 03.07 - 03.12】 I finally made my schedule HAHAHAHA ✨ General:]]> I finally made my schedule HAHAHAHA ✨

General: #EnnaAlouette
Live: #EnnaLively
Art: #エナーアート #Palouette
Assets: #Ennassets
Fan Names: #Aloupeeps
Memes: #EnnTheyCry
NSFW: #Alouwet
🍰: #Boennappetit
]]>
Wed, 08 Mar 2023 17:56:32 GMT https://www.youtube.com/post/Ugkxo52qUokksva3Scj3nGMW2hbFBT59AveC https://www.youtube.com/post/Ugkxo52qUokksva3Scj3nGMW2hbFBT59AveC
<![CDATA[【Week: 02.27 - 03.05】 Lots of collabs this week !! ALSO I'M RELAPSING... 😭😭😭 General:]]> Lots of collabs this week !!
ALSO I'M RELAPSING... 😭😭😭



General: #EnnaAlouette
Live: #EnnaLively
Art: #エナーアート #Palouette
Assets: #Ennassets
Fan Names: #Aloupeeps
Memes: #EnnTheyCry
NSFW: #Alouwet
🍰: #Boennappetit
]]>
Thu, 02 Mar 2023 17:56:32 GMT https://www.youtube.com/post/Ugkx8Y_BtYUYK8Rj97835d2EQ9AaDAshDADx https://www.youtube.com/post/Ugkx8Y_BtYUYK8Rj97835d2EQ9AaDAshDADx
<![CDATA[✨BIRTHDAY SCHEDULE ✨ -- 2022 Highlights: 🍰7PM PST 3PM GMT 🍰12AM JST (02.21) B-Day Zatsu: 🎂7:15PM PST 3:15PM GMT 🎂12:15AM JST (02.21) Cov...]]> --
2022 Highlights:
🍰7PM PST 3PM GMT
🍰12AM JST (02.21)



B-Day Zatsu:
🎂7:15PM PST 3:15PM GMT
🎂12:15AM JST (02.21)



Cover Premiere:
🎉6PM PST 2AM GMT (02.21)
🎉11AM JST (02.21)



B-Day Concert:
♥️6:15PM PST
♥️2:15AM GMT (02.21) / 11:15AM JST (02.21)
]]>
Thu, 23 Feb 2023 17:56:32 GMT https://www.youtube.com/post/UgkxFKamuJEbq69JDAkqWT2KdEzCnbCbhccv https://www.youtube.com/post/UgkxFKamuJEbq69JDAkqWT2KdEzCnbCbhccv
```
TonyRL commented 1 year ago

It works