point to the new server
[spider.git] / cmd / show / qrz.pl
index 7665f08c9c67a646235b475f9097a5747d27f4c3..558525c085e07fb06f06bc1318906bedf930605b 100644 (file)
@@ -13,10 +13,10 @@ my @out;
 
 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 || '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;
 
@@ -33,7 +33,7 @@ foreach $l (@list) {
                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;
+               dbg($s) if isdbg('qrz');
                $t->print($s);
                Log('call', "$call: show/qrz \U$l");
                my $state = "blank";