Need help with grabbing links - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Need help with grabbing links

PayMePloxPayMePlox Posts: 2Member
I need help in grabbing links.. I use WWW::Mechanize to grab links from sites and it worked very well until i got into this site:
http://sleepywood.net/forum/memberlist.php?ltr=A&pp=0&sort=username&order=asc

I tried to use WWW:Mechanize with that link but it doesnt work, I only get the links from the header menu.. Maybe because the links that i need is in a table?

Please your tips would really help me alot thnx..

Comments

  • JonathanJonathan Posts: 2,914Member
    : http://sleepywood.net/forum/memberlist.php?ltr=A&pp=0&sort=username&o
    : rder=asc
    :
    When I go to that URL I am asked to log in. I'm guessing that your script isn't "logged in", as it were, so it just gets shown the login page.

    Jonathan
    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
  • PayMePloxPayMePlox Posts: 2Member
    : : http://sleepywood.net/forum/memberlist.php?ltr=A&pp=0&sort=username&o
    : : rder=asc
    : :
    : When I go to that URL I am asked to log in. I'm guessing that your
    : script isn't "logged in", as it were, so it just gets shown the
    : login page.
    :
    : Jonathan
    : ###
    : for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    : (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    : /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

    OH yes.. Thank you very much, yes i really need to login first.. Can you point me on the right direction on how i can do this?

    1 Do i need to use cookies for this?
    2 Do i need to make my own cookie or do i have to grab the cookie from the site
    3 Can you point me to a link with an example of logging in to a website?

    Ive search the web about cookies but all i can see is using cookies for your own server.. I really dont know if cookies is the only answer to logging in to a website, but as far as i have researched, cookies is the one i get.

Sign In or Register to comment.