Quote:
Originally Posted by scissors
Y@starson when you say print the soup - I assume the soup is the input html and the created intermediate xhtml.
|
Yes, it's the input html. "Soup" is recipe shorthand for html being processed in a recipe by BeautifulSoup. The html processing methods (pre and post) are passed a parameter named "soup" which is the html they receive to be processed. You'll see it in most recipes. It's also used behind the scenes in all the tag handling methods.
http://www.crummy.com/software/Beaut...mentation.html