sorry guys, here is the code

    for incident in bs('a',  {'class' : 'price'}):
        price = ""
        for oText in incident.fetchText( oRE):
              price += oText.strip() + "','"

    for incident in bs('div',  {'class' : 'store'}):
        store = ""
        for oText in incident.fetchText( oRE):
            store += oText.strip() + "','"

    for incident in bs('h2',  {'id' : 'food'}):
      food = ""
      for oText in incident.fetchText( oRE):
            food += oText.strip() + "','"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to