Skip to content

Commit

Permalink
increase waiting time for OschinaSpider
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Oct 11, 2019
1 parent 36494d9 commit a8ce89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spiders/oschina.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class OschinaSpider extends BaseSpider {
const el = document.querySelector(editorSel.publish)
el.click()
}, this.editorSel)
await this.page.waitFor(10000)
await this.page.waitFor(20000)

// 后续处理
await this.afterPublish()
Expand Down

0 comments on commit a8ce89d

Please sign in to comment.