projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated the windows links and stuff in the intro
[spider.git]
/
cmd
/
show
/
qrz.pl
diff --git
a/cmd/show/qrz.pl
b/cmd/show/qrz.pl
index 558525c085e07fb06f06bc1318906bedf930605b..7122992f6d91c79c3f7d5f8df3cae1c2928a1158 100644
(file)
--- a/
cmd/show/qrz.pl
+++ b/
cmd/show/qrz.pl
@@
-3,6
+3,8
@@
#
# from an idea by Steve Franke K9AN and information from Angel EA7WA
#
#
# from an idea by Steve Franke K9AN and information from Angel EA7WA
#
+# Copyright (c) 2001 Dirk Koopman G1TLH
+#
# $Id$
#
my ($self, $line) = @_;
# $Id$
#
my ($self, $line) = @_;
@@
-13,10
+15,10
@@
my @out;
return (1, $self->msg('e24')) unless $Internet::allow;
return (1, "SHOW/QRZ <callsign>, e.g. SH/QRZ g1tlh") unless @list;
return (1, $self->msg('e24')) unless $Internet::allow;
return (1, "SHOW/QRZ <callsign>, e.g. SH/QRZ g1tlh") unless @list;
-my $target = $Internet::http_proxy || '
u2
.qrz.com';
+my $target = $Internet::http_proxy || '
www
.qrz.com';
my $port = $Internet::http_proxy_port || 80;
my $url = '';
my $port = $Internet::http_proxy_port || 80;
my $url = '';
-$url = 'http://
u2
.qrz.com' if $Internet::http_proxy;
+$url = 'http://
www
.qrz.com' if $Internet::http_proxy;
use Net::Telnet;
use Net::Telnet;
@@
-32,7
+34,7
@@
foreach $l (@list) {
if (!$t || $@) {
push @out, $self->msg('e18', 'QRZ.com');
} else {
if (!$t || $@) {
push @out, $self->msg('e18', 'QRZ.com');
} else {
- my $s = "GET $url/
dxcluster.cgi?callsign=$l\&uid=$Internet::qrz_uid\&pw
=$Internet::qrz_pw HTTP/1.0\n\n";
+ my $s = "GET $url/
p/dxcluster.pl?callsign=$l\&username=$Internet::qrz_uid\&password
=$Internet::qrz_pw HTTP/1.0\n\n";
dbg($s) if isdbg('qrz');
$t->print($s);
Log('call', "$call: show/qrz \U$l");
dbg($s) if isdbg('qrz');
$t->print($s);
Log('call', "$call: show/qrz \U$l");