Fix TorrentParser
This commit is contained in:
1 parent
81ae752975
commit
e535b2fa09
1 file changed
+1
-1
@@ -25,7 +25,7 @@ import java.util.regex.Pattern;
|
||||
|
||||
public class TorrentParser {
|
||||
|
||||
private static final Pattern PATTERN_TORRENT = Pattern.compile("<td colspan=\"5\"> <a href=\"([^\"]+)\">([^<]+)</a></td>");
|
||||
private static final Pattern PATTERN_TORRENT = Pattern.compile("<td colspan=\"5\"> <a href=\"([^\"]+)\"[^<]+>([^<]+)</a></td>");
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static Pair<String, String>[] parse(String body) {
|
||||
|
||||
Reference in new issue
Block a user