fix: video model category
This commit is contained in:
@@ -66,6 +66,12 @@ class Scheduler
|
||||
return $this->Site;
|
||||
}
|
||||
|
||||
public $arrExcludeCategory = [
|
||||
'体育',
|
||||
'福利',
|
||||
'伦理',
|
||||
'伦理片',
|
||||
];
|
||||
|
||||
/**
|
||||
* create a site-wide craw task
|
||||
@@ -103,6 +109,10 @@ class Scheduler
|
||||
continue;
|
||||
}
|
||||
|
||||
if (in_array($arrCategory['v_category_name'], $this->arrExcludeCategory)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$intTotalPage = $arrCategory['total_page'];
|
||||
$arrFilter = [];
|
||||
for ($intStartPage = 1; $intStartPage <= $intTotalPage; $intStartPage++) {
|
||||
|
||||
Reference in New Issue
Block a user