Fix html head parsing
This commit is contained in:
parent
45dd96ec3d
commit
58f8693cc8
@ -97,7 +97,7 @@ public final class HtmlParser {
|
||||
Connection.Response response = Jsoup.connect(url).execute();
|
||||
|
||||
String body = response.body();
|
||||
String head = body.substring(body.indexOf("<head>"), body.indexOf("</head>"));
|
||||
String head = body.substring(body.indexOf("<head"), body.indexOf("</head>"));
|
||||
|
||||
long end = System.currentTimeMillis();
|
||||
Log.d(TAG, "parsing time : " + (end - start));
|
||||
|
Loading…
x
Reference in New Issue
Block a user