v1.5.9 (Actuel)

This commit is contained in:
2026-09-15 21:56:10 +02:00
parent c21cd3ab5e
commit bff992aa4a
56 changed files with 3404 additions and 327 deletions
+5 -7
View File
@@ -30,13 +30,11 @@ function deduplicateByTitle(results: SearchResult[]): SearchResult[] {
});
}
export class ZTAPI implements ISource {
export class ZoneTelechargementAPI implements ISource {
name = 'zt';
displayName = 'ZT';
private baseUrl: string | undefined;
constructor(baseUrl?: string) {
this.baseUrl = baseUrl;
displayName = 'Zone-Téléchargement';
get baseUrl() {
return CONFIG.ZT_URL?.replace(/\/$/, '');
}
async healthCheck(): Promise<boolean> {
@@ -161,4 +159,4 @@ export class ZTAPI implements ISource {
}
// ── Auto-registration ──
sourceRegistry.register(new ZTAPI(CONFIG.ZT_URL));
sourceRegistry.register(new ZoneTelechargementAPI());