Answer the question
In order to leave comments, you need to log in
How to extract JSON object from script tag content?
I feel like I'm wandering around the solution, but I can't find it. Help, please: when parsing the site, I noticed that the information I needed is contained in the script tag of the following content (shortened to fit into the character limit. The full version of the tag content can be found here ):
<script>
var __RELAY_BOOTSTRAP__ = "";
</script>
Answer the question
In order to leave comments, you need to log in
\\\"
This is generally similar to double coding.
Decode manually first. Yes, at least in the browser console. The advantage of this approach is that you see what you have at each stage. Here I got two more JSONs (and if you look closely, everything is more complicated):
Then each one needs to be decoded again. Good luck.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question