Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev
This commit is contained in:
@@ -36,9 +36,9 @@ class Scheduler
|
|||||||
$intSliceSize = 4;
|
$intSliceSize = 4;
|
||||||
|
|
||||||
$arrFilter = [];
|
$arrFilter = [];
|
||||||
// for ($intNId = 1; $intNId <= 531208; $intNId++) {
|
for ($intNId = 1; $intNId <= 531208; $intNId++) {
|
||||||
// for ($intNId = 1; $intNId <= 10000; $intNId++) {
|
// for ($intNId = 1; $intNId <= 10000; $intNId++) {
|
||||||
for ($intNId = 1; $intNId <= 1; $intNId++) {
|
// for ($intNId = 1; $intNId <= 1; $intNId++) {
|
||||||
$arrFilter[] = [
|
$arrFilter[] = [
|
||||||
'n_source_id' => $intNId,
|
'n_source_id' => $intNId,
|
||||||
'page' => 0,
|
'page' => 0,
|
||||||
@@ -61,11 +61,11 @@ class Scheduler
|
|||||||
*/
|
*/
|
||||||
public function crawLatest()
|
public function crawLatest()
|
||||||
{
|
{
|
||||||
$intSliceSize = 3;
|
$intSliceSize = 4;
|
||||||
$arrUri = [];
|
$arrUri = [];
|
||||||
$strUri = '/list/lastupdate_%s_0_0_%s.html';
|
$strUri = '/list/lastupdate_%s_0_0_%s.html';
|
||||||
|
|
||||||
$intEndCategory = $intEndPage = 2;
|
$intEndCategory = $intEndPage = 10;
|
||||||
|
|
||||||
for ($intCategoryKey = 0; $intCategoryKey < $intEndCategory; $intCategoryKey++) {
|
for ($intCategoryKey = 0; $intCategoryKey < $intEndCategory; $intCategoryKey++) {
|
||||||
for ($intPage = 1; $intPage <= $intEndPage; $intPage++) {
|
for ($intPage = 1; $intPage <= $intEndPage; $intPage++) {
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ class NovelPage extends BasePage
|
|||||||
$this->arrRelatedNovel[] = [
|
$this->arrRelatedNovel[] = [
|
||||||
"n_id" => $arrNovelInfo["n_id"],
|
"n_id" => $arrNovelInfo["n_id"],
|
||||||
"n_source_id" => $arrNovelInfo["n_source_id"],
|
"n_source_id" => $arrNovelInfo["n_source_id"],
|
||||||
"og_title" => $arrNovelInfo["og_title"],
|
"og_novel_book_name" => $arrNovelInfo["og_novel_book_name"],
|
||||||
];
|
];
|
||||||
} elseif (is_numeric(strpos($strUri, 'kan'))) {
|
} elseif (is_numeric(strpos($strUri, 'kan'))) {
|
||||||
$intNForgeId = (int)supperExtractFilename($strUri);
|
$intNForgeId = (int)supperExtractFilename($strUri);
|
||||||
|
|||||||
Reference in New Issue
Block a user