Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/********************************* Bueno, lo conseguí, medianamente pero al fin y al cabo, lo conseguí. Primero hay que abrir la sección de seguidores y scrollear hasta abajo para que se cargue toda la lista al html. Lo mismo con seguidos. Luego hay que ejecutar DESDE LA CONSOLA, DE A UNA Y EN ORDEN estas sentencias. ***************************************/ /* PRIMERA */ array_seguidores = [] seguidores = document.querySelectorAll("._0imsa ") seguidores.forEach(e => array_seguidores.push(e.innerText)); /* SEGUNDA */ array_seguidos = [] seguidos = document.querySelectorAll("._0imsa ") //FPmhX notranslate _0imsa wFPL8 seguidos.forEach(e => array_seguidos.push(e.innerText)); /* TERCERA NOS SEGUIMOS MUTUAMENTE*/ array = [] array_seguidos.forEach(function(e) { if (array_seguidores.includes(e) == true){ array.push(e)} }) /* CUARTA SIGO PERO NO ME SIGUEN*/ arrayNO = [] array_seguidos.forEach(function(e) { if (array_seguidores.includes(e) == false){ arrayNO.push(e) } }) /* RESULTADO */ Si le hacemos un console.log(array), el resultado va a ser todos usuarios con los que me sigo mutuamente. Si le hacemos un console.log(arrayNO), el resultado va a ser todos usuarios que no me siguen
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)