Pārlūkot izejas kodu

Default to HTTP for IS. This does not actually work when they are borked, but it produces better errors

Zachary Kotlarek 9 gadi atpakaļ
vecāks
revīzija
e3abae8a49
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -2013,7 +2013,7 @@ sub initSources() {
 
 	# NZB.is
 	if ($CONFIG->{'SOURCES'}->{'IS'}) {
-		my @proxies = ('nzb.is/api');
+		my @proxies = ('http://nzb.is/api');
 		my $source = findProxy(\@proxies, '\bnzb\.is\b');
 		if ($source && exists($CONFIG->{'IS_APIKEY'}) && $CONFIG->{'IS_APIKEY'}) {
 			$source->{'weight'}         = 1.00;