Package fr.eolya.crawler.connectors.web.robots

Examples of fr.eolya.crawler.connectors.web.robots.Robots


    ignoreUrlFieldsNoSessionId = this.src.getUrlIgnoreFieldsNoSessionId();

    startingUrls = this.src.getStartingUrls();
    try {
      boolean wildcardsAllowed = ("1".equals(config.getProperty("/crawler/param[@name='robots_wildcard_allowed']", "0")));
      robots = new Robots(new URL(startingUrls.getUrlHome()), null, getUserAgent (config.getProperty("/crawler/param[@name='user_agent']", "CaBot"), this.src.getUserAgent()), wildcardsAllowed);
    } catch (MalformedURLException e) {
      e.printStackTrace();
      robots = null;
    } catch (Exception e2) {
      e2.printStackTrace();
View Full Code Here

TOP

Related Classes of fr.eolya.crawler.connectors.web.robots.Robots

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.