public void getData( Config config ) {
        try {
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");

            saveData.dataInfo.encode = "UTF-8";
            saveData.dataInfo.language = "中文";
            saveData.dataInfo.crawlDate = dateFormat.format(new Date());
            for (ReadConfig.newspaperClass newsInfo : config.newspaperList) {
                try {
                    saveData.dataInfo.newspaper = newsInfo.newspaper;
                    String trueLink = getTrueLink(newsInfo.startUrl, newsInfo.encode);
                    if (trueLink.contains("58.42.249.98"))     //可否写到配置文件，对于特别的起始页
                        trueLink = trueLink.substring(0, trueLink.lastIndexOf('/') + 1) + "PageArticleIndexGB.htm";
                    if ( newsInfo.getHomePage != null ) {
                        Document doc = getDocument(trueLink, newsInfo.encode);
                        trueLink = doc.select(newsInfo.getHomePage).select("a[href]").first().attr("abs:href");
                    }
                    NewsEyeSpider.logger.info("trueLink = " + trueLink);
                    System.out.println("trueLink = " + trueLink);
                    getPageInfo(trueLink, config, newsInfo.encode);
                }catch (Exception e) {
                    ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    e.printStackTrace(new PrintStream(baos));
                    NewsEyeSpider.logger.debug(baos.toString());
                }
                NewsEyeSpider.saveBloomFilter();
            }
        }catch (Exception e) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            e.printStackTrace(new PrintStream(baos));
            NewsEyeSpider.logger.debug(baos.toString());
        }
    }