Home > front end >  How to use the BeautifulSoup extraction under the HTML page script dictionary content?
How to use the BeautifulSoup extraction under the HTML page script dictionary content?

Time:12-15

This is a HTML, the contents and forms of the script tags are as follows:
<script>
__NEXT_DATA__={" store ": Shanghai," initialState ": 1038998390}
</script>

The contents of the __NEXT_DATA__ for a dictionary, how to extract __NEXT_DATA__?
  • Related