D
Dan
I have a script that does a search of completed Ebay auctions for
certain items. All was fine until a few weeks ago, when Ebay changed it
so that one must login in order to search completed items. I've modified
the script to support cookies for the login information after searching
on deja. The script seems fairly simple, but the get() statement returns
a page that claims that the browser does not support cookies. I can't
see what I'm missing here
Code follows. You'll need a valid Ebay USerID and password to test it.
Thanks in advance.
-Dan
# !/user/bin/perl
use LWP::Simple qw ($ua get);
use HTTP::Cookies;
$ua->cookie_jar(HTTP::Cookies->new);
# Modify the following as needed.
$Login = "login";
$Password = "password";
$URL="http://signin.ebay.com/aw-cgi/eBayI...p=&pa1=&pa2=&pa3=&il=-1&pageType=1637&userid="
.. $Login . "&pass=" . $Password .
"&keepMeSignInOption=1&ru=http://search-completed.ebay.com:80...ft&lotr=1&completedonly=1&from=R2";
$content = get $URL;
open (TMPOUT, ">ebaytest.out");
print TMPOUT $content;
close TMPOUT;
certain items. All was fine until a few weeks ago, when Ebay changed it
so that one must login in order to search completed items. I've modified
the script to support cookies for the login information after searching
on deja. The script seems fairly simple, but the get() statement returns
a page that claims that the browser does not support cookies. I can't
see what I'm missing here
Code follows. You'll need a valid Ebay USerID and password to test it.
Thanks in advance.
-Dan
# !/user/bin/perl
use LWP::Simple qw ($ua get);
use HTTP::Cookies;
$ua->cookie_jar(HTTP::Cookies->new);
# Modify the following as needed.
$Login = "login";
$Password = "password";
$URL="http://signin.ebay.com/aw-cgi/eBayI...p=&pa1=&pa2=&pa3=&il=-1&pageType=1637&userid="
.. $Login . "&pass=" . $Password .
"&keepMeSignInOption=1&ru=http://search-completed.ebay.com:80...ft&lotr=1&completedonly=1&from=R2";
$content = get $URL;
open (TMPOUT, ">ebaytest.out");
print TMPOUT $content;
close TMPOUT;