Merge branch 'dev' of ssh://git.bgbg.live:18150/root/SEONexus into dev

This commit is contained in:
make
2025-04-12 18:20:47 +08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -36,9 +36,9 @@ class Scheduler
$intSliceSize = 4;
$arrFilter = [];
// for ($intNId = 1; $intNId <= 531208; $intNId++) {
// for ($intNId = 1; $intNId <= 10000; $intNId++) {
for ($intNId = 1; $intNId <= 1; $intNId++) {
for ($intNId = 1; $intNId <= 531208; $intNId++) {
// for ($intNId = 1; $intNId <= 10000; $intNId++) {
// for ($intNId = 1; $intNId <= 1; $intNId++) {
$arrFilter[] = [
'n_source_id' => $intNId,
'page' => 0,
@@ -61,11 +61,11 @@ class Scheduler
*/
public function crawLatest()
{
$intSliceSize = 3;
$intSliceSize = 4;
$arrUri = [];
$strUri = '/list/lastupdate_%s_0_0_%s.html';
$intEndCategory = $intEndPage = 2;
$intEndCategory = $intEndPage = 10;
for ($intCategoryKey = 0; $intCategoryKey < $intEndCategory; $intCategoryKey++) {
for ($intPage = 1; $intPage <= $intEndPage; $intPage++) {

View File

@@ -115,7 +115,7 @@ class NovelPage extends BasePage
$this->arrRelatedNovel[] = [
"n_id" => $arrNovelInfo["n_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'))) {
$intNForgeId = (int)supperExtractFilename($strUri);