• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

I need to copy everyone's name from the "who is online" list

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
how can i copy only the names of the list who is online? and put in one txt one below the other
1577298348341.png

if i use ctrl c ctrl v, the txt is stay this way
1577298492738.png

but i need something like it:
1577298546391.png
how is the fastest way to do this? without deleting (lvl and voc) line by line
 
Solution
this
Andyirado Xdxd
Beck
Bella
Bellax
Bjorn Ironside
Black Labelz
Blue Labelz
Break Shooter
Busu Halfin
Crazy Of Cannabis
Deemonize
Doido
Duck
Ek Robusto
Ekzera
Gold Labelz
Green Labelz
Guizeerah Returns
Holy Shit
Hoop
Hope
Ieu Robacena
Impacto Profundo
Jack Frost Xdxd
Kiti Komi
Knight Fantasma
Love You
Lsd Ret
Lsd Returns
Mageyver Xdxd
Mc Bella
Menino Bloker
Mister
Neelix Xdxd
Novato Joga Facil
Old Ary Sb
Old Quixada
Pa Ra Lyze
Pelego Rush
Phelp
Pitomba
Poucas Trancas
Programador Java
Red Labelz
Revolutions Boys
Roaldo Jr
Rp Robusto
Run Or Die
Rushando Ms
Rushandonaparalyze
Sd Na Oreia
Shukre
Skeletin Dashow...
this
Andyirado Xdxd
Beck
Bella
Bellax
Bjorn Ironside
Black Labelz
Blue Labelz
Break Shooter
Busu Halfin
Crazy Of Cannabis
Deemonize
Doido
Duck
Ek Robusto
Ekzera
Gold Labelz
Green Labelz
Guizeerah Returns
Holy Shit
Hoop
Hope
Ieu Robacena
Impacto Profundo
Jack Frost Xdxd
Kiti Komi
Knight Fantasma
Love You
Lsd Ret
Lsd Returns
Mageyver Xdxd
Mc Bella
Menino Bloker
Mister
Neelix Xdxd
Novato Joga Facil
Old Ary Sb
Old Quixada
Pa Ra Lyze
Pelego Rush
Phelp
Pitomba
Poucas Trancas
Programador Java
Red Labelz
Revolutions Boys
Roaldo Jr
Rp Robusto
Run Or Die
Rushando Ms
Rushandonaparalyze
Sd Na Oreia
Shukre
Skeletin Dashow
Solitario Surfista
Susanoo
Volteei Prasputa
We Are Survivors
Xundoca
Youricks
Post automatically merged:

Try to take these small tricks and store them, because with alot of them you can do alot of different things! :)
 
Solution
PHP:
<form action="#" method="post">
<p>Enter the online list url (e.g: http://website.com/?subtopic=whoisonline)</p>
Website Url: <input type="text" name="url"><br>
<input type="submit">
</form>

<?php
if(!empty($_POST['url'])){
    $searchfor = 'subtopic=characters&name=';
    $filename = $_POST['url'];
    $file = file_get_contents($filename);
    $doc = new DOMDocument();
    @$doc->loadHTML($file);
    $divs = $doc->getElementsByTagName('div');
    foreach($divs as $div) {
        if ($div->getAttribute('class') === 'BoxContent') {
            foreach($div->getElementsByTagName('a') as $a) {
                $property=$a->getAttribute('href');
                if (strpos($property , $searchfor)){
                    $remove_url = str_replace('?subtopic=characters&name=', '', $property);
                    $remove_plus = str_replace('+', ' ', $remove_url);
                    echo $remove_plus .'<br>';
                }
            }
        }
    }
}
?>

Here's a website code where you just have to enter the url for example ClassicStyller - Whoisonline (http://classicstyller.sytes.net/?subtopic=whoisonline) and it will show you all names.

Updated the code so it only fetch the BoxContent div class as I noticed there is Top Experience which was fetched aswell. Now it only shows the true list of players online.
 
Last edited:
PHP:
<form action="#" method="post">
<p>Enter the online list url (e.g: http://website.com/?subtopic=whoisonline)</p>
Website Url: <input type="text" name="url"><br>
<input type="submit">
</form>

<?php
if(!empty($_POST['url'])){
    $searchfor = 'subtopic=characters&name=';
    $filename = $_POST['url'];
    $file = file_get_contents($filename);
    $doc = new DOMDocument();
    @$doc->loadHTML($file);
    $divs = $doc->getElementsByTagName('div');
    foreach($divs as $div) {
        if ($div->getAttribute('class') === 'BoxContent') {
            foreach($div->getElementsByTagName('a') as $a) {
                $property=$a->getAttribute('href');
                if (strpos($property , $searchfor)){
                    $remove_url = str_replace('?subtopic=characters&name=', '', $property);
                    $remove_plus = str_replace('+', ' ', $remove_url);
                    echo $remove_plus .'<br>';
                }
            }
        }
    }
}
?>

Here's a website code where you just have to enter the url for example ClassicStyller - Whoisonline (http://classicstyller.sytes.net/?subtopic=whoisonline) and it will show you all names.

Updated the code so it only fetch the BoxContent div class as I noticed there is Top Experience which was fetched aswell. Now it only shows the true list of players online.
sensational
 
Back
Top