title: using python urllib and beautiful soup to extract information from html site
body: <p>I am trying to extract some information from this website i.e. the line which says:</p>
  
  <p>Scale(Virgo + GA + Shapley):      29 pc/arcsec =  0.029 kpc/arcsec =   1.72 kpc/arcmin =   0.10 Mpc/degree</p>
  
  <p>but everything after the : is variable depending on galtype.</p>
  
  <p>I have written a code which used beautifulsoup and urllib and returns sone information, but i am struggling to reduce the data further to just the information I want. How do I get just the information I want?</p>
  
  <pre><code>galname='M82'
  a='http://ned.ipac.caltech.edu/cgi-bin/objsearch?objname='+galname+'&amp;extend'+\
     '=no&amp;hconst=73&amp;omegam=0.27&amp;omegav=0.73&amp;corr_z=1&amp;out_csys=Equatorial&amp;out_equinox=J2000.0&amp;obj'+\
     '_sort=RA+or+Longitude&amp;of=pre_text&amp;zv_breaker=30000.0&amp;list_limit=5&amp;img_stamp=YES'
  
  print a
  import urllib
  f = urllib.urlopen(a)
  from bs4 import BeautifulSoup
  soup=BeautifulSoup(f)
  
  soup.find_all(text=re.compile('Virgo')) and soup.find_all(text=re.compile('GA')) and soup.find_all(text=re.compile('Shapley'))
  </code></pre>