-foreach $l (@list) {
- eval {
- $t->open(Host => $target,
- Port => $port,
- Timeout => 15);
- };
- if (!$t || $@) {
- push @out, $self->msg('e18', 'Open(425.org)');
+ dbg(join('|', @list)) if isdbg('425');
+ if ($list[0] eq "CAL") {
+ $op="op=cal";
+ } elsif ($list[0] eq "BULL") {
+ $op="op=bull&query=$list[1]";
+ } else {
+ $op="op=search&query=$list[0]";
+ }
+
+ my $path = "/425dxn/spider.php?$op";
+
+ 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]});
+
+ if ($conn) {
+ push @out, $self->msg('m21', "show/425");