Skip to content

Commit

Permalink
[mod] change repo path to gocolly organization
Browse files Browse the repository at this point in the history
  • Loading branch information
asciimoo committed Nov 11, 2017
1 parent bcfee82 commit 25f17d0
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 27 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Colly provides a clean interface to write any kind of crawler/scraper/spider.

With Colly you can easily extract structured data from websites, which can be used for a wide range of applications, like data mining, data processing or archiving.

[![GoDoc](https://godoc.org/github.com/asciimoo/colly?status.svg)](https://godoc.org/github.com/asciimoo/colly)
[![build status](https://img.shields.io/travis/asciimoo/colly/master.svg?style=flat-square)](https://travis-ci.org/asciimoo/colly)
[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=flat-square)](http://goreportcard.com/report/asciimoo/colly)
[![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=flat-square)](https://github.com/asciimoo/colly/tree/master/_examples)
[![test coverage](https://cover.run/go/github.com/asciimoo/colly.svg)](https://cover.run/go/github.com/asciimoo/colly)
[![GoDoc](https://godoc.org/github.com/gocolly/colly?status.svg)](https://godoc.org/github.com/gocolly/colly)
[![build status](https://img.shields.io/travis/gocolly/colly/master.svg?style=flat-square)](https://travis-ci.org/gocolly/colly)
[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=flat-square)](http://goreportcard.com/report/gocolly/colly)
[![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=flat-square)](https://github.com/gocolly/colly/tree/master/_examples)
[![test coverage](https://cover.run/go/github.com/gocolly/colly.svg)](https://cover.run/go/github.com/gocolly/colly)

## Features

Expand Down Expand Up @@ -43,19 +43,19 @@ func main() {
}
```

See [examples folder](https://github.com/asciimoo/colly/tree/master/_examples) for more detailed examples.
See [examples folder](https://github.com/gocolly/colly/tree/master/_examples) for more detailed examples.


## Installation

```
go get -u github.com/asciimoo/colly/...
go get -u github.com/gocolly/colly/...
```


## Bugs

Bugs or suggestions? Visit the [issue tracker](https://github.com/asciimoo/colly/issues) or join `#colly` on freenode
Bugs or suggestions? Visit the [issue tracker](https://github.com/gocolly/colly/issues) or join `#colly` on freenode


## Other Projects Using Colly
Expand Down
2 changes: 1 addition & 1 deletion _examples/basic/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/coursera_courses/coursera_courses.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/PuerkitoBio/goquery"
"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

// Course stores information about a coursera course
Expand Down
2 changes: 1 addition & 1 deletion _examples/error_handling/error_handling.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/google_groups/google_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/PuerkitoBio/goquery"
"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

// Mail is the container of a single e-mail
Expand Down
2 changes: 1 addition & 1 deletion _examples/hackernews_comments/hackernews_comments.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strconv"
"strings"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

type comment struct {
Expand Down
2 changes: 1 addition & 1 deletion _examples/instagram/instagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"strings"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

// found in https://www.instagram.com/static/bundles/en_US_Commons.js/68e7390c5938.js
Expand Down
2 changes: 1 addition & 1 deletion _examples/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/max_depth/max_depth.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions _examples/multipart/multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"os"
"time"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func generateFormData() map[string][]byte {
f, _ := os.Open("asciimoo.jpg")
f, _ := os.Open("gocolly.jpg")
defer f.Close()

imgData, _ := ioutil.ReadAll(f)
Expand Down Expand Up @@ -59,7 +59,7 @@ func main() {

// Before making a request print "Visiting ..."
c.OnRequest(func(r *colly.Request) {
fmt.Println("Posting asciimoo.jpg to", r.URL.String())
fmt.Println("Posting gocolly.jpg to", r.URL.String())
})

// Start scraping
Expand Down
2 changes: 1 addition & 1 deletion _examples/openedx_courses/openedx_courses.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

// DATE_FORMAT default format date used in openedx
Expand Down
2 changes: 1 addition & 1 deletion _examples/parallel/parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/rate_limit/rate_limit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/request_context/request_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/url_filter/url_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"regexp"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion _examples/xkcd_store/xkcd_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"os"

"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/colly/colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var scraperHeadTemplate string = `package main
import (
"log"
"github.com/asciimoo/colly"
"github.com/gocolly/colly"
)
func main() {
Expand Down
2 changes: 1 addition & 1 deletion colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func NewContext() *Context {
// Init initializes the Collector's private variables and sets default
// configuration for the Collector
func (c *Collector) Init() {
c.UserAgent = "colly - https://github.com/asciimoo/colly"
c.UserAgent = "colly - https://github.com/gocolly/colly"
c.MaxDepth = 0
c.visitedURLs = make([]string, 0, 8)
c.htmlCallbacks = make([]*htmlCallbackContainer, 0, 8)
Expand Down

0 comments on commit 25f17d0

Please sign in to comment.