Update .forgejo/scripts/check_m3u_links.js

This commit is contained in:
SpaceMonkey 2025-06-10 23:11:51 +02:00
parent 8d72f26d0d
commit ef3a7797d2

View file

@ -16,10 +16,6 @@ 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 +202,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}`);
}
/**