2

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?

4
  • 1
    Give the code you have and the errors you get, and somebody may be able to help you. Not everybody here is a mindreader. Commented Apr 15, 2011 at 10:45
  • this is the problem.i have tried different codes i have found on the net but doesn't satissfy me.If anyone can provide me with a useful link or code i would be pleased. Commented Apr 15, 2011 at 10:47
  • 1
    Dude, either you provide reasonable information and error messages or just don't ask here. BeautifulSoup is the perfect choice. Unless you provide information there is nothing we can do Commented Apr 15, 2011 at 10:49
  • i don't have a specific code.i ask if someone can give me any link or code on how retrieving content from html page,modifying it and extract the content on my page.that's all.:) Commented Apr 15, 2011 at 10:52

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.