I'm trying to retrieve a Javascript variable using Python and I'm having some issues...
Here is what the variable looks like :
<script type="text/javascript">
var exampleVar = [
{...},
{...},
{
"key":"0000",
"abo":
{
"param1":"1"
"param2":"2"
"param3":
[
{
"param3a1":"000"
"param3a2":"111"
},
{
"param3b1":"100"
"param3b2":"101"
}
]
}
]
</script>
After some research, I discovered that its content was in the JSON format, and I'm new to it...
My problem now is that I would like to retrieve the value of "param3b1" (for example) to use it in my Python program.
How do I do this in Python ?
Thanks !
json
.