title: Parse the content of a HTML table - But iframe is the source of problems
body: <p>Last question for this day. I'm trying to find a way to parse the content of the tables of this page : <a href="http://www7.pearsonvue.com/Dispatcher?application=VTCLocator&amp;action=actStartApp&amp;v=W2L&amp;cid=445" rel="nofollow">http://www7.pearsonvue.com/Dispatcher?application=VTCLocator&amp;action=actStartApp&amp;v=W2L&amp;cid=445</a> in a var, for putting it in a Excel file.</p>
  
  <p>No problem for putting data into excel after parsing it with BeautifulSoup. </p>
  
  <p>But (there is always a "but") the source code is quite strange, with an iframe inside. </p>
  
  <pre><code>#!/usr/bin/python
  # -- coding: utf-8 --
  
  import xlwt
  import urllib2
  import sys
  import re
  from bs4 import BeautifulSoup as soup
  import urllib
  
  print("TEST FOR PTE TESTS CENTERS")
  
  url = 'http://www6.pearsonvue.com/Dispatcher?application=VTCLocator&amp;action=actStartApp&amp;v=W2L&amp;cid=445'
  values = {
          'sortColumn' : 2,
          'sortDirection' : 1,
          'distanceUnits' : 0,
          'proximitySearchLimit'  : 20,
          'countryCode'  : 'GBR', # WE TRY FOR NOW WITH A SPECIFIC COUNTRY
  
              }
  
  user_agent = 'Mozilla/5 (Solaris 10) Gecko'
  headers = { 'User-Agent' : user_agent }
  
  data = urllib.urlencode(values)
  req = urllib2.Request(url, data, headers)
  response = urllib2.urlopen(req)
  thePage = response.read()
  the_page = soup(thePage)
  
  
  result = the_page.find('frame', attrs={'name' : 'VTCLocatorPageFrame'})
  print result # We have now the FRAME link in the result var
  </code></pre>
  
  <p>So please find above the source of the script i'm trying to get working. </p>
  
  <p>After running the script, we have this in the result var : </p>
  
  <p></p>
  
  <p>If you have any idea, It might be VERY helpful :)</p>
  
  <p>Thanks in advance and via python !</p>