From f433941c71d02548380756ca01d669f39d9c3264 Mon Sep 17 00:00:00 2001 From: zycha Date: Wed, 15 Jul 2026 10:05:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstar=E5=AF=BB=E6=89=BE?= =?UTF-8?q?=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 +++-- package.json | 3 ++- tasks/dailyStar.js | 5 ----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 760a2e0..6740efe 100644 --- a/.gitignore +++ b/.gitignore @@ -10,11 +10,12 @@ lerna-debug.log* # Runtime generated state.json screenshots/ - +debug-runs/ # Environment variables (sensitive) .env !.env.example - +package-lock.json +pnpm-lock.yaml node_modules dist dist-ssr diff --git a/package.json b/package.json index 1a29ea7..1908432 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "test": "node main.js", "debug:task": "node debugTask.js", "debug:trending": "node debugTask.js dailyTrending --keep-open", - "debug:update": "node debugTask.js updateProject --keep-open --dry-run" + "debug:update": "node debugTask.js updateProject --keep-open --dry-run", + "debug:star": "node debugTask.js dailyStar --keep-open" }, "keywords": [ "gitcode", diff --git a/tasks/dailyStar.js b/tasks/dailyStar.js index 6f07008..031c723 100644 --- a/tasks/dailyStar.js +++ b/tasks/dailyStar.js @@ -28,11 +28,6 @@ const { } = require(path.join(__dirname, '..', 'utils', 'page')); const PROJECT_CARD_SELECTORS = [ - '.hot-selection-list a.recommend-card', - '.hot-selection .recommend-card', - 'a.recommend-card', - 'a[href*="source_module=home_hot_selection"]', - 'a[href*="source_module=home_recommend"]', 'a[href*="/"][href*="?source_module="]', ];