Skip to content

Commit

Permalink
fix tldlist absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
EgbertW committed May 26, 2015
1 parent c51fa77 commit 5d555f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/uci/ics/crawler4j/url/TLDList.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class TLDList {

private static final String TLD_NAMES_ONLINE_URL = "https://publicsuffix.org/list/effective_tld_names.dat";
private static final String TLD_NAMES_TXT_FILENAME = "/tld-names.txt";
private static final String TLD_NAMES_TXT_FILENAME = "tld-names.txt";
private static final Logger logger = LoggerFactory.getLogger(TLDList.class);

private static boolean onlineUpdate = false;
Expand Down Expand Up @@ -101,4 +101,4 @@ public static void setUseOnline(boolean online) {
public boolean contains(String str) {
return tldSet.contains(str);
}
}
}

0 comments on commit 5d555f3

Please sign in to comment.