Beispiel #1
0
def fetch_panchayat(url, district, taluka):
    encoded_url = _cleanUrl(url)
    data = panchayatExtract(encoded_url)
    if "panchayat" in global_data[district]["taluka"][taluka].keys():
        global_data[district]["taluka"][taluka]["panchayat"] =\
            dict(data.items() +
                 global_data[district]["taluka"][taluka]["panchayat"].items())
    else:
        global_data[district]["taluka"][taluka]["panchayat"] = data
def fetch_panchayat(url, taluka):
    encoded_url = _cleanUrl(url)
    result = panchayatExtract(encoded_url)
    return result