ITeye博客

org.archive.modules.extractor.Hop

shareHua · 2012-12-20 21:41 · heritrix3 · 互联网 · Markdown

/**

  • The kind of "hop" from one URI to another. Each hop type can be

  • represented by a single character; strings of these characters can

  • appear in logs. Eg, "LLLX" means that a URI was three normal links from

  • a seed, and then one speculative link.

  • @author pjack */

    /** Navigation links, like A/@HREF. */ NAVLINK('L'),

    /** Implied prerequisite links, like dns or robots. */ PREREQ('P'),

    /** Embedded links necessary to render the page, like IMG/@SRC. */ EMBED('E'),

    /**

    • Speculative/aggressively extracted links, perhaps embed or nav,
    • as in javascript.
      */ SPECULATIVE('X'),

    /**

    • Referral/redirect links, like header 'Location:' on a 301/302 response. */ REFER('R'),

    /**

    • Inferred/implied links -- not necessarily literally in the source
    • material, but deduced by convention. */ INFERRED('I');

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。