I need to get the json that its inside of a java script var, and that var it inside a script tag like this
<script type="text/javascript">
But its not the only type="text/javascript" in the HTML, the tag its the netx:
<script type="text/javascript">
var products = '{"id":"000000000000193758","name":"FZ1292","estilo":"FZ1292","date":"44348","month":"JUNIO","day":"1","regster":"","price":"3499","name2":"McDonalds x Harden Vol. 5 ","description":"Detén tu hambre por jugar básquetbol ","image":"www.somesite.com":"ADIDAS","realdate":"06-01-2021"}
</script>
I have tried the following:
script = soup.find_all('script', {'type': 'text/javascript'})
But it brings all the matching tags, I don't know how to identify the specific tag, because it has no id