GithubHelp home page GithubHelp logo

internetarchive / strainer Goto Github PK

View Code? Open in Web Editor NEW
3.0 18.0 0.0 39 KB

Heritrix frontier files manipulation tool.

License: GNU Affero General Public License v3.0

Go 100.00%
heritrix frontier crawling

strainer's Introduction

made-with-Go GitHub go.mod Go version of a Go module Go Report Card GitHub license

Strainer

Parse Heritrix frontiers, build seeds list, exclude hosts, crawl better.

What's strainer?

Strainer is a tool built to manipulate Heritrix frontier files. It takes one or multiple (GZIP or not) frontier files and build new seeds list based on them.

It can exclude specific hosts, limit the number of occurrence of hosts in the final seeds list, and give you interesting statistics about your frontiers.

It's still a WIP, but it's usable right now.

Usage

usage: strainer [-h|--help] -f|--file "<value>" [-f|--file "<value>" ...]
                [-m|--max-host-occurrence <integer>] [-e|--excluded-hosts
                "<value>" [-e|--excluded-hosts "<value>" ...]] [--temp-dir
                "<value>"]

                manipulate Heritrix frontier files

Arguments:

  -h  --help                 Print help information
  -f  --file                 Frontier file(s) to process, can be .gz files.
  -m  --max-host-occurrence  Max number of a occurrence of a given host to
                             accept in the final seed list. If an host is
                             parsed more than X times, new occurrences of that
                             host past that limit will be excluded. -1 value
                             means no limit. Default: -1
  -e  --excluded-hosts       Specific hosts to exclude from the final seed
                             list.
      --temp-dir             Temporary directory to use for the key/value
                             database. Default: /tmp

strainer's People

Contributors

corentinb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.