Skip to content

kltm/tanuki

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
t
 
 
 
 
 
 
 
 
 
 

Tanuki

A novelty seeking crawler and link/wait reporting tool for HTML-based web applications.

It is based on the kappa web agent, which is itself based on the wonderful drakma.

Basic usage

Local requirements

Operation of Tanuki assumes access to a Postgres database, a la: Assuming good access for user:

createdb -h localhost -U tanuki_user -W tanuki
Access:
psql -W -U tanuki_user -h localhost tanuki

Starting

A session, starting from scratch.

(require :tanuki)
(in-package :tanuki)
(defparameter +t+ (make-tanuki-system :start-url "http://localhost/" :data-location "/tmp" :dbname "tanuki" :dbuser "XYZ" :dbpass "ABC" :dbhost "localhost"))
;; Build database from scratch, or wipe everything out.
(initialize-database +t+)
;; Start two agents.
(start-a-tanuki +t+ 'get-aset-weighed)
(report-general +t+)
(start-a-tanuki +t+ 'get-distant-aset-random)
(report-general +t+)
(stop-tanukis +t+)

Continuing

A session, continuing from last time.

(defparameter +t+ (make-tanuki-system :start-url "http://localhost/" :data-location "/tmp" :dbname "tanuki" :dbuser "XYZ" :dbpass "ABC" :dbhost "localhost"))
;; Start one agent.
(start-a-tanuki t1 'get-aset-random)
(stop-tanukis +t+)

About

A novelty seeking crawler for HTML-based web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published