title: Machine learning to understand website structure in Python
body: <p>I have been working on crawling webpages and extracting the elements of the website.
  Ex:
  Given a website - The crawler should return the following sections: Header, Menu, Footer, content etc.</p>
  
  <p>I was thinking that it would be great if I could use machine learning to train the code to learn how to classify websites.</p>
  
  <p>I tried looking at Python Machine learning libraries (ex: PyBrain) but the examples are very complex.
  Can anyone please suggest me a library and some tutorial on how to get started on using Python Machine Learning with some simple examples?</p>
  
  <p>Thanks!</p>