Jump to content
Vhaerun

Perl Web Bot , Tutorial 1 + Video Tutorial

Recommended Posts

Posted

codul asta trebuie pus in CPAN ?

INSTALLING AUTOMATICALLY

------------------------

The easiest way to install is via CPAN or CPANPLUS:

CPAN:

% perl -MCPAN -e shell [as root]

> install WWW::Mechanize::Cached

> quit

si unde gasesc CPAN-ul asta ? si mai trebuie sa descarc ceva , sau doar perlul ?

:oops: :oops:

Posted

am reusit sa instalez Mechaniez cu ajutorul lui Vhaerun :D

am facut o continuare la scriptul lui Vhaerun care trimite un mesaj in alianta ... am incercat sa fac sa activeze potiunile de viata dar n-am reusit deoarece ele au linkul random ( se tot schimba la fiecare refresh ) ... la fel e si la butoanele de la caverna :(:((

e vreo posibilitate sa reusesc ?

Posted

la caverna (inspect element ) :


class = input , type = submit , value = Lung ,
name = "14c6babae54add16327d9c2023eb9e04"

la potiune :

 
a href=?q=66b852602020ea64529e60c23319a8c6&act=2&actkey=2

p.s : linkurile se schimba la fiecare refresh :(

Posted

Uite aici :


if($string =~ /vindecare medie\s?.*?a href=\"(.*)\"/is) {
print "$1\n";
}

evident , in $string , vei avea content-ul paginii .

in $1 vei avea un link relativ .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...