new_contents: import requests
  from bs4 import BeautifulSoup
  
  INSPECTION_DOMAIN = 'http://info.kingcounty.gov'
  INSPECTION_PATH = '/health/ehs/foodsafety/inspections/Results.aspx?'
  INSPECTION_PARAMS = {
      'Output': 'W',
      'Business_Name': '',
      'Business_Address': '',
      'Longitude': '',
      'Latitude': '',
      'City': '',
      'Zip_Code': '',
      'Inspection_Type': 'All',
      'Inspection_Start': '',
      'Inspection_End': '',
      'Inspection_Closed_Business': 'A',
      'Violation_Points': '',
      'Violation_Red_Points': '',
      'Violation_Descr': '',
      'Fuzzy_Search': 'N',
      'Sort': 'H'
  }
  
  
  def get_inspection_page(**kwargs):
      inspection_params = INSPECTION_PARAMS.copy()
      for k, v in kwargs.iteritems():
          if k in INSPECTION_PARAMS:
              inspection_params[k] = v
      search = INSPECTION_DOMAIN + INSPECTION_PATH
      response = requests.get(search, params=inspection_params)
      response.raise_for_status()
      return response.content, response.encoding
  
  
  def write_inspection_page():
      pass
  
  
  
  
  
subject: add get_inspection_page function