code: def _wikipedia_known_port_ranges():
      
      req = urllib2.Request(WIKIPEDIA_PAGE, headers={'User-Agent' : "Magic Browser"})
      page = urllib2.urlopen(req).read().decode('utf8')
  
      # just find all numbers in table cells
      ports = re.findall('<td>((\d+)(\W(\d+))?)</td>', page, re.U)
      return ((int(p[1]), int(p[3] if p[3] else p[1])) for p in ports)
docs: Returns used port ranges according to Wikipedia page.
      This page contains unofficial well-known ports.