diff --git a/README.md b/README.md index bea888d..ea122e5 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ $ goscholar -h - find by `````` - search the articles citing `````` - JSON output +- recursive clawling is not implemented ## Go API @@ -130,15 +131,15 @@ $ goscholar cite 15502119379559163003 --num 1 | python -mjson.tool ### Usage ``` -go-scholar: Google Scholar crawler and scraper written in Go +goscholar: Google Scholar crawler and scraper written in Go Usage: - go-scholar search [--keywords=] [--author=] [--title=] + goscholar search [--keywords=<keywords>] [--author=<author>] [--title=<title>] [--after=<year>] [--before=<year>] [--num=<num>] [--start=<start>] - go-scholar find <cluster-id> - go-scholar cite <cluster-id> [--after=<year>] [--before=<year>] [--num=<num>] [--start=<start>] - go-scholar -h | --help - go-scholar --version + goscholar find <cluster-id> + goscholar cite <cluster-id> [--after=<year>] [--before=<year>] [--num=<num>] [--start=<start>] + goscholar -h | --help + goscholar --version Query-options: <cluster-id> diff --git a/cmd/goscholar/main.go b/cmd/goscholar/main.go index c11a3ce..aad7e3c 100644 --- a/cmd/goscholar/main.go +++ b/cmd/goscholar/main.go @@ -11,7 +11,7 @@ import ( const articles_buffer = 100000 func main() { - version := "go-scholar 0.1.1" + version := "go-scholar 0.1.2" usage := `go-scholar: Google Scholar crawler and scraper written in Go Usage: @@ -126,4 +126,4 @@ func parseArgs(args map[string]interface{}) (q *goscholar.Query) { } return q -} \ No newline at end of file +} diff --git a/parse_test.go b/parse_test.go index fb4e991..a18f075 100644 --- a/parse_test.go +++ b/parse_test.go @@ -34,7 +34,7 @@ func init() { }, Year: "2009", ClusterId: "5331804836605365413", - NumCite: "2424", + NumCite: "2429", NumVer: "58", InfoId: "pYyS8T9g_kkJ", Link: &Link{ @@ -52,7 +52,7 @@ func init() { }, Year: "2012", ClusterId: "1290425714414184502", - NumCite: "140", + NumCite: "139", NumVer: "", InfoId: "NuivrFmD6BEJ", Link: &Link{