开发者

Parsing html content with python and modifying it [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_运维技巧 Closed 11 years ago.

I am new to python and i don't know many things.I want to parse an html page,modify it and show it in my own page.I try use beautifulsoup in order to parse html but some errors are generated.I searched on the web but i don't know any specific way to do this.Can anyone help me?


Read the BeautifulSoup documentation - and come back if you have real issues.


you can see an example here

Besides two more discussion in this site:How to tell BeautifulSoup to extract the content of a specific tag as text? and Using Beautiful Soup Python module to replace tags with plain text

But I think it may be a better idea to write your own code and post your specific question here. Or at least you should use search engine first.

Good luck.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜