TODO: 解决编码问题
This commit is contained in:
@@ -29,8 +29,8 @@ func (or *OpenrecRankingTest) Execute(cxt *hunter.TaskContext) {
|
||||
t.Error("rank is error. result raw is ", result.Raw)
|
||||
}
|
||||
|
||||
if cxt.Workflow().GetQuery().Get("page") != "1" {
|
||||
t.Error("workflow page error")
|
||||
if cxt.Temporary().GetQuery().Get("page") != "1" {
|
||||
t.Error("Temporary page error")
|
||||
}
|
||||
// t.Error(string(resp.Content()))
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ func (or *OpenrecRanking) Execute(cxt *hunter.TaskContext) {
|
||||
break
|
||||
}
|
||||
|
||||
wf := cxt.Workflow()
|
||||
wf := cxt.Temporary()
|
||||
|
||||
content := resp.Content()
|
||||
if len(content) <= 200 {
|
||||
|
||||
Reference in New Issue
Block a user