Created
January 17, 2024 01:07
-
-
Save ahmadalashtar/81f8d4abcaa20eb9bd0e7b7bbadc583e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// first go to your followers page and run this js in the | |
let str = "" | |
for (let i = 0 ; i < children.length ; i++){ | |
let item = children[i].getElementsByTagName("a")[1].innerText | |
str = str + item + " | " | |
} | |
console.log(str) | |
// go to your connections page and run this js in the browser | |
str = "" | |
for (i = 0 ; i < children.length ; i++){ | |
let item = children[i].getElementsByTagName("a")[1].getElementsByTagName("span")[1].innerText | |
str = str + item + " | " | |
} | |
console.log(str) | |
// now you can do this in any langauge you want, I used python | |
// make sure to replace yourData1 and yourData2 with your actual data | |
followers = yourData1 | |
connections = yourData2 | |
followers = followers.split(" | ") | |
connections = connections.split(" | ") | |
dontfollowyou = "" | |
for connection in connections: | |
if connection not in followers: | |
dontfollowyou = dontfollowyou + " " + connection | |
print(dontfollowyou) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment