Parsing html content with python and modifying it [closed]
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.
精彩评论