Skip to content

Instantly share code, notes, and snippets.

@zukilover
Created February 20, 2020 17:42
Show Gist options
  • Save zukilover/362832c9abac597036706028492f2582 to your computer and use it in GitHub Desktop.
Save zukilover/362832c9abac597036706028492f2582 to your computer and use it in GitHub Desktop.
Instagram Following List
JSON.stringify(
const following = Array.from(document.querySelectorAll('.wo9IH'));
following.reduce((acc, list) => {
const user = list.querySelector('.d7ByH');
const username = user.querySelector('.FPmhX').innerText;
if(!user.innerText.match(/(Sudah Diverifikasi)|(Verified)/)){
acc.push(`@${username}`);
}
return acc;
}, [])
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment