X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2F425.pl;h=656e5bf9ab9469c2277e58ce7236c040d2866739;hb=f63d598af3f797b56b8d5e23ec4ff5254192eee9;hp=86e66554181c82dcbbf8aadf39a101e07ded6794;hpb=89eaa6762e986e15ba3167ba3400a38cda1faf80;p=spider.git diff --git a/cmd/show/425.pl b/cmd/show/425.pl index 86e66554..656e5bf9 100644 --- a/cmd/show/425.pl +++ b/cmd/show/425.pl @@ -17,10 +17,10 @@ sub handle return (1, $self->msg('e24')) unless $Internet::allow; return (1, "SHOW/425 \nSHOW/425 CAL\nSHOW/425 BULL \n e.g. SH/425 IQ5BL, SH/425 CAL, SH/425 BUL 779\n") unless @list; - my $target = "www.ariscandicci.it"; + my $target = $Internet::dx425_url || 'www.425dxn.org'; my $port = 80; - dbg(join('|', @list)) if isdbg('425'); + dbg('sh/425: args=' . join('|', @list)) if isdbg('425'); if ($list[0] eq "CAL") { $op="op=cal"; } elsif ($list[0] eq "BULL") { @@ -29,7 +29,9 @@ sub handle $op="op=search&query=$list[0]"; } - my $path = "/425dxn/spider.php?$op"; + my $path = "/spider.php?$op"; + + dbg("sh/425: target='$target' path='$path'") if isdbg('425'); Log('call', "$call: show/425 \U$op"); my $conn = AsyncMsg->get($self, $target, $port, $path, prefix=>'425> ', 'User-Agent' => qq{DxSpider;$main::version;$main::build;$^O;$main::mycall;$call;$list[0]});