X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fqrz.pl;h=a3965c833386c6a18465977021d7c39a14fa5372;hb=6b6eda0362049fd67809f2789e523708a1a8cb13;hp=7665f08c9c67a646235b475f9097a5747d27f4c3;hpb=9bafb5297d126d00203d67addaa918c0f056d9a8;p=spider.git diff --git a/cmd/show/qrz.pl b/cmd/show/qrz.pl index 7665f08c..a3965c83 100644 --- 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 # +# Copyright (c) 2001 Dirk Koopman G1TLH +# # $Id$ # my ($self, $line) = @_; @@ -13,10 +15,10 @@ my @out; return (1, $self->msg('e24')) unless $Internet::allow; return (1, "SHOW/QRZ , e.g. SH/QRZ g1tlh") unless @list; -my $target = $Internet::http_proxy || 'qrz.com'; +my $target = $Internet::http_proxy || 'u2.qrz.com'; my $port = $Internet::http_proxy_port || 80; my $url = ''; -$url = 'http://qrz.com' if $Internet::http_proxy; +$url = 'http://u2.qrz.com' if $Internet::http_proxy; use Net::Telnet; @@ -32,8 +34,8 @@ foreach $l (@list) { 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"; -# print $s; + 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"); my $state = "blank";