def exito(): url_exito_matress="http://www.exito.com/Hogar_y_decoracion-Dormitorio-Colchones/_/N-2cnf" #PE.parse_exito_fp(url_exito_fp) exito_parsed=PE.parse_exito_matress(url_exito_matress) if (exito_parsed is None): print("ERROR!! jsonExito is NULL\n") jsonExito = json.dumps(exito_parsed,indent=4) return jsonExito
def exito(): url_exito_fp="https://www.exito.com" #PE.parse_exito_fp(url_exito_fp) exito_parsed=PE.parse_exito_fp(url_exito_fp) if (exito_parsed is None): print("ERROR!! jsonExito is NULL\n") jsonExito = json.dumps(exito_parsed,indent=4) return jsonExito