Skip to content
This repository has been archived by the owner on May 30, 2021. It is now read-only.

Commit

Permalink
Update README.md and fix test case temporally for v0.1.1
Browse files Browse the repository at this point in the history
for temporal test case fix, see #91
  • Loading branch information
sotetsuk committed May 10, 2016
1 parent aa3c559 commit 3915507
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $ goscholar -h
- find by ```<cluster-id>```
- search the articles citing ```<cluster-id>```
- JSON output
- recursive clawling is not implemented

## Go API

Expand Down Expand Up @@ -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=<keywords>] [--author=<author>] [--title=<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>
Expand Down
4 changes: 2 additions & 2 deletions cmd/goscholar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -126,4 +126,4 @@ func parseArgs(args map[string]interface{}) (q *goscholar.Query) {
}

return q
}
}
4 changes: 2 additions & 2 deletions parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func init() {
},
Year: "2009",
ClusterId: "5331804836605365413",
NumCite: "2424",
NumCite: "2429",
NumVer: "58",
InfoId: "pYyS8T9g_kkJ",
Link: &Link{
Expand All @@ -52,7 +52,7 @@ func init() {
},
Year: "2012",
ClusterId: "1290425714414184502",
NumCite: "140",
NumCite: "139",
NumVer: "",
InfoId: "NuivrFmD6BEJ",
Link: &Link{
Expand Down

0 comments on commit 3915507

Please sign in to comment.