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

fetch_url_content 函数无法成功获取youtube内容 #3

Open
weilichao opened this issue Oct 8, 2024 · 2 comments
Open

fetch_url_content 函数无法成功获取youtube内容 #3

weilichao opened this issue Oct 8, 2024 · 2 comments

Comments

@weilichao
Copy link

weilichao commented Oct 8, 2024

反复测试,response.text拿到数据后,BeautifulSoup解析,只能获取几十个字符,是否已经更新了代码?

@weilichao
Copy link
Author

weilichao commented Oct 8, 2024

这是我测试"https://www.youtube.com/watch?v=bq1Plo2RhYI&t=1598s" 后得到content.txt内容

"How We Built Replit Agent: Fireside Chat with Harrison Chase & Michele Catasta - YouTube簡介新聞中心版權聯絡我們創作者刊登廣告開發人員條款私隱政策及安全YouTube 的運作方式測試新功能© 2024 Google LLC"

@lihuithe
Copy link
Owner

现在请求网页用户py自带的库,建议把采集器做一下封装以适配各种网站的采集需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants