There are two unix exec. The one for calling spider and saving in db is “main” Another for getting data from db and print it into txt is “print” type the following two commands could generate the txt $./main $./print Written in go gopher's spider can also be easily run in any go environment by running $ go run main.go And print the index from db by running $ go run print.go You can download and install Go from http://golang.org. Requires code.google.com/p/go.net/html package which can be installed by running $go get code.google.com/p/go.net/html