Update .forgejo/scripts/check_m3u_links.js

This commit is contained in:
SpaceMonkey 2025-06-10 23:02:14 +02:00
parent 827796f7d2
commit 110cfc4513

View file

@ -15,12 +15,6 @@ const MAX_RETRIES = 2;
const DELAY_BETWEEN_REQUESTS = 1000; // 1 second
const USER_AGENT = 'M3U-Checker/1.0';
class M3UChecker {
constructor() {
this.repoOwner = process.env.REPO_OWNER;
this.repoName = process.env.REPO_NAME;
}
/**
* Parse M3U file and extract URLs with metadata
*/
@ -206,7 +200,6 @@ class M3UChecker {
console.log(` Error: ${error}`);
console.log(` Status Code: ${statusCode || 'N/A'}`);
console.log(` Duration: ${entry.duration || 'Unknown'}`);
console.log(` Repository: ${this.repoOwner}/${this.repoName}`);
}
/**