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

如何进一步从生成的html中提取主要内容? #14

Open
liyunsheng13 opened this issue Aug 23, 2024 · 1 comment
Open

如何进一步从生成的html中提取主要内容? #14

liyunsheng13 opened this issue Aug 23, 2024 · 1 comment

Comments

@liyunsheng13
Copy link

No description provided.

@sixgad
Copy link
Collaborator

sixgad commented Aug 23, 2024

@liyunsheng13 抽取程序返回数据是正文部分的html源码,可使用markdownify等开源库可将html转markdown格式,或者使用lxml,BeautifulSoup等去除网页标签保留纯文本内容

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