3 ms·
Or the data is stored in js objects within script tags in the html and can be extracted programmatically. It's getting common with SSG sites using SPA framework
by squaresmile 4y ago
Or the data is stored in js objects within script tags in the html and can be extracted programmatically. It's getting common with SSG sites using SPA frameworks.
For example, the new Google Play Store website stores the data in AF_initDataCallback calls and can be extracted with re.findall(r"<script nonce=\"\S+\">AF_initDataCallback\((.*?)\);", html_string).