Parcourir la source

Decode HTML URLs from ISOHunt

Zachary Kotlarek il y a 12 ans
Parent
commit
e9e731964d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      findTorrent.pl

+ 2 - 0
findTorrent.pl

@@ -37,6 +37,7 @@ my @TRACKERS = ('udp://open.demonii.com:1337/announce', 'udp://tracker.publicbt.
 
 
 # Includes
 # Includes
 use URI::Encode qw(uri_encode);
 use URI::Encode qw(uri_encode);
+use HTML::Entities;
 use HTML::Strip;
 use HTML::Strip;
 use JSON;
 use JSON;
 use File::Temp;
 use File::Temp;
@@ -1044,6 +1045,7 @@ sub resolveSecondary($) {
 			}
 			}
 			return undef();
 			return undef();
 		}
 		}
+		$url = decode_entities($url);
 	}
 	}
 
 
 	return $url;
 	return $url;