Skip to content

Commit

Permalink
Request.PostData改为string类型
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Jan 7, 2016
1 parent 30559bd commit 527fd2d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lewa.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ var Lewa = &Spider{
// Url: "http://accounts.lewaos.com",
// Rule: "登录后",
// Method: "POST",
// PostData: url.Values{
// "username": []string{""},
// "password": []string{""},
// "login_btn": []string{"login_btn"},
// "submit": []string{"login_btn"},
// },
// PostData: "[email protected]&password=123456&login_btn=login_btn&submit=login_btn",
// })
NewForm(
ctx,
Expand Down

0 comments on commit 527fd2d

Please sign in to comment.