Skip to content

Commit

Permalink
update javbus
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Oct 10, 2019
1 parent 9f06448 commit 5f21a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions grab_javbus.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,8 @@ func (g *grabJavbus) Decode(msg *[]*Content) error {
}
func (g *grabJavbus) clone() *grabJavbus {
clone := new(grabJavbus)
clone.mainPage = g.mainPage
clone.sample = g.sample
clone.language = g.language
clone.next = g.next
clone.uncensored = g.uncensored
*clone = *g
clone.details = nil
return clone
}

Expand Down
7 changes: 2 additions & 5 deletions grab_javdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ type grabJavdb struct {

func (g *grabJavdb) clone() *grabJavdb {
clone := new(grabJavdb)
clone.mainPage = g.mainPage
clone.sample = g.sample
clone.next = g.next
clone.finder = g.finder
clone.exact = g.exact
*clone = *g
clone.details = nil
//clone.details = make([]*javdbSearchDetail, len(g.details))
//copy(clone.details, g.details)
return clone
Expand Down

0 comments on commit 5f21a68

Please sign in to comment.