aboutsummaryrefslogtreecommitdiff
path: root/src/scraper.ts
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-07-15 00:21:11 -0400
committerJoe Mou <dev@mou.fo>2026-07-15 00:43:33 -0400
commit18db9dae971a0681c8537d94092cd68fe8f65fa5 (patch)
treee30b876790d735f4fd293e3060afa6dbfe4da64c /src/scraper.ts
parentb3e6a7029756b5cd83e39cd282668b740177a428 (diff)
Remove watchers, no longer rendered by GitHub
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'src/scraper.ts')
-rw-r--r--src/scraper.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/scraper.ts b/src/scraper.ts
index a44f0a7..3434434 100644
--- a/src/scraper.ts
+++ b/src/scraper.ts
@@ -227,7 +227,6 @@ export interface RepoInfo {
description: string | null;
website: string | null;
stars: string | null;
- watchers: string | null;
forks: string | null;
numReleases?: number;
latestReleaseTag?: string;
@@ -386,9 +385,6 @@ function parseRepoInfo(html: string): RepoInfo {
? getAttributeValue(starsElem, "title") || textContent(starsElem).trim()
: null;
- const watchersElem = cssSelect.selectOne("a[href$='/watchers'] strong", document);
- const watchers = watchersElem ? textContent(watchersElem).trim() : null;
-
const forksElem = cssSelect.selectOne("#repo-network-counter", document) as Element | null;
const forks = forksElem
? getAttributeValue(forksElem, "title") || textContent(forksElem).trim()
@@ -428,7 +424,6 @@ function parseRepoInfo(html: string): RepoInfo {
description,
website,
stars,
- watchers,
forks,
numReleases,
latestReleaseTag,