Skip to content

Instantly share code, notes, and snippets.

@mucahit
Created June 25, 2018 23:17
Show Gist options
  • Save mucahit/2d0d4f876e839d2b60c4e0c2a9992b29 to your computer and use it in GitHub Desktop.
Save mucahit/2d0d4f876e839d2b60c4e0c2a9992b29 to your computer and use it in GitHub Desktop.
List of your Twitter unfollowers.
let list = [];
$('.ProfileCard-content').each(function() {
const status = $(this)
.find('.FollowStatus')
.text();
if (status != 'Follows you') {
list.push($(this).find(".u-linkComplex-target").text())
}
});
list.map(i => `http://twitter.com/${i}`).join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment