feature config start page and end page with novel by craler
This commit is contained in:
@@ -12,7 +12,7 @@ use app\task\crawler\zw\Scheduler as ZwScheduler;
|
||||
*/
|
||||
class Scheduler extends ZwScheduler
|
||||
{
|
||||
|
||||
|
||||
protected $intStartNSourceId = 1;
|
||||
|
||||
protected $intEndNSourceId = 500000;
|
||||
@@ -25,6 +25,10 @@ class Scheduler extends ZwScheduler
|
||||
public function init()
|
||||
{
|
||||
$this->intSlice = 3;
|
||||
|
||||
$this->intStartNSourceId = config('crawler.novel_start_n_source_id');
|
||||
|
||||
$this->intEndNSourceId = config('crawler.novel_end_n_source_id');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user