Hi experts,
I am trying to log into the website: https://steamcommunity.com/login/home/?goto=market%2F and it doesn't seem to be working. My code is:
use JSON::XS; use WWW::Mechanize; use HTTP::Cookies; use LWP::Simple; use strict; use warnings; my $login = "https://steamcommunity.com/login/home/?goto=market%2F +"; my $username = "USR"; my $password = "PASS"; my $mech = WWW::Mechanize->new(); $mech->cookie_jar(HTTP::Cookies->new()); $mech->get($login); $mech->form_name('loginForm'); $mech->field(login => $username); $mech->field(passwd => $password); $mech->click();
Any trouble shooting help would be really appreciated as after quite a while of searhing the forums I have found nothing.
Thanks in advance
Seb Morris
In reply to Logging into a HTTPS website with perl by SebMorris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |