Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyingda committed Aug 22, 2024
1 parent 4a4d64c commit 80f49d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ class Consumer {
url: task.url,
targets: task.targets,
actions: task.actions,
userAgent: task.userAgent,
deviceType: task.deviceType,
customHeaders: task.customHeaders
userAgent: this.userAgent,
deviceType: this.deviceType,
customHeaders: this.customHeaders,
};
let spider = new Spider(sOpt);
spider.parseHtml = this.beforeParseHtml;
Expand Down

0 comments on commit 80f49d4

Please sign in to comment.