user_places = {
var regex = /AtlasObscura\.user_profile\s*=\s*({[\s\S]*?\}\}\]\}\});/;
var match = text.match(regex);
var obj = null;
if (match && match[1]) {
try {
obj = JSON.parse(match[1]);
} catch (e) {
console.error("Parsing error:", e);
}
}
return obj.user.places
}