X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fqrz.pl;h=e0ee31a6c7bf27a150b36c0061877e556b602b37;hb=ea27ec80247b0f34e18adbcbae20adc66cbd5789;hp=a3965c833386c6a18465977021d7c39a14fa5372;hpb=06ccbab62fa8abfd3948b75f16289e4ffa6d72fd;p=spider.git diff --git a/cmd/show/qrz.pl b/cmd/show/qrz.pl index a3965c83..e0ee31a6 100644 --- a/cmd/show/qrz.pl +++ b/cmd/show/qrz.pl @@ -5,7 +5,7 @@ # # Copyright (c) 2001 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; my @list = split /\s+/, $line; # generate a list of callsigns @@ -15,10 +15,15 @@ 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 || 'u2.qrz.com'; +#my $target = $Internet::http_proxy || 'www.qrz.com'; +#my $port = $Internet::http_proxy_port || 80; +#my $url = ''; +#$url = 'http://www.qrz.com' if $Internet::http_proxy; +my $target = $Internet::http_proxy || $Internet::qrz_url || 'www.qrz.com'; my $port = $Internet::http_proxy_port || 80; my $url = ''; -$url = 'http://u2.qrz.com' if $Internet::http_proxy; +$url = 'http://' . ($Internet::qrz_url | 'www.qrz.com') if $Internet::http_proxy; + use Net::Telnet;