public void setConf(Configuration conf) {
this.conf = conf;
parserFactory = new ParserFactory(conf);
maxParseTime=conf.getInt("parser.timeout", DEFAULT_MAX_PARSE_TIME);
sig = SignatureFactory.getSignature(conf);
filters = new URLFilters(conf);
normalizers = new URLNormalizers(conf, URLNormalizers.SCOPE_OUTLINK);
int maxOutlinksPerPage = conf.getInt("db.max.outlinks.per.page", 100);
maxOutlinks = (maxOutlinksPerPage < 0) ? Integer.MAX_VALUE : maxOutlinksPerPage;
ignoreExternalLinks = conf.getBoolean("db.ignore.external.links", false);
executorService = Executors.newCachedThreadPool(new ThreadFactoryBuilder()