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]});
+ my $conn = AsyncMsg->get($self, $target, $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");
dbg("sh/contest: url=$url") if isdbg("contest");
- my $r = AsyncMsg->get($self->call, $host, $port, $url, prefix=>'ctst> ');
+ my $r = AsyncMsg->get($self->call, $host, $url, prefix=>'ctst> ');
if ($r) {
push @out, $self->msg('m21', "show/contest");
}
dbg("IK3QAR: url=$path") if isdbg('ik3qar');
Log('call', "$call: SH/IK3QAR $line");
- my $r = AsyncMsg->get($self, $target, $port, $path, prefix=>'qar> ',
+ my $r = AsyncMsg->get($self, $target, $path, prefix=>'qar> ',
'User-Agent' => "DxSpider;$main::version;$main::build;$^O;$main::mycall;$call");
if ($r) {
push @out, $self->msg('m21', "show/ik3qar");
$conn->{_assort} = $sort;
$conn->{csort} = 'http';
+ my $data = delete $args{data};
+
my $ua = Mojo::UserAgent->new;
my $s;
$s .= $host;
$ua->on(start => sub {
my ($ua, $tx) = @_;
- my $data = delete $args{data};
while (my ($k, $v) = each %args) {
dbg("AsyncMsg: attaching header $k: $v") if isdbg('async');
$tx->req->headers->header($k => $v);