fix(scraper): fallback on empty env for GITHUB_BASE

fix(client): add placeholder from config
fix(client): remove alldebrid
This commit is contained in:
MasutaYunikon committed 2026-06-26 14:49:53 +02:00
1 parent 98b317d493
commit 3799d33c62
2 files changed
+5 -8

No files matched your search

+3 -2
View File
@@ -2,8 +2,9 @@ import { DATA_DIR } from '../config.js'
import path from 'path'
import fs from 'fs'
const GITHUB_BASE = process.env.GITHUB_BASE
?? 'https://raw.githubusercontent.com/masutayunikon/fankarr-scraper/main'
const GITHUB_BASE =
process.env.GITHUB_BASE?.trim() ||
'https://raw.githubusercontent.com/masutayunikon/fankarr-scraper/main'
const CACHE_TTL_MS = 1 * 60 * 60 * 1000