arrow_back
Preset / Social Media
Instagram Profile Scraper
F
figraniumAGENTSocial Media
account_treeAutomation Steps
1
wait_selector
[aria-label="Close"]Value: 4
2
if
3
click
[aria-label="Close"]4
wait
Value: 1
5
else
6
wait
Value: 1
7
end
8
end
codeExtraction Script
return {
"username": (() => { const el = document.querySelector("h2 > span"); return el ? el.textContent.trim() : null; })(),
"fullName": (() => { const el = document.querySelector("section:nth-of-type(4) > div > div:nth-of-type(1) > span"); return el ? el.textContent.trim() : null; })(),
"biography": (() => { const el = document.querySelector("section:nth-of-type(4) > div > span > div > span"); return el ? el.textContent.trim() : null; })(),
"followersCount": (() => { const el = document.querySelector("li:nth-of-type(1) > div > a > span > span > span"); return el ? el.textContent.trim() : null; })(),
"followsCount": (() => { const el = document.querySelector("li:nth-of-type(2) > div > a > span > span > span"); return el ? el.textContent.trim() : null; })(),
"externalUrl": (() => { const el = document.querySelector("span:nth-of-type(2) > span"); return el ? el.textContent.trim() : null; })(),
"verified": document.querySelector("section:nth-of-type(2) > div > div > div > div > div:nth-of-type(2)") !== null,
};