So I have a public webpage that contains something like the following code:
var arrayA = new Array();
arrayA[0] = new customItem("1","Name1","description1",1.000,2.000);arrayA[1] = new customItem("2","Name2","description2",4.000,8.000);
What I want to do is to have Python to read this page and convert the data into 2 dictionaries with the name+description being the key.
i.e.,
dict1["Name1Description1"] = 1.000
dict2["Name1Description1"] = 2.000
dict1["Name2Description2"] = 4.000
dict2["Name2Description2"] = 8.000
Is there an easy way we could do this or we pretty much have to parse it as any other string? Obviously the array could be of any length.
Thanks!