projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix xmlns path
[spider.git]
/
cmd
/
show
/
qrz.pl
diff --git
a/cmd/show/qrz.pl
b/cmd/show/qrz.pl
index a3965c833386c6a18465977021d7c39a14fa5372..fdcdc59dce4205f7ca992f8c6ee15f83e92633be 100644
(file)
--- a/
cmd/show/qrz.pl
+++ b/
cmd/show/qrz.pl
@@
-15,10
+15,15
@@
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 = '';
+#$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 = '';
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;
use Net::Telnet;