Feat galaxynovels (#2327)

Co-authored-by: yemen <hanihameda@gmail.com>
This commit is contained in:
hamedhani1998
2026-07-21 03:38:44 +03:00
committed by GitHub
parent c0e9b45357
commit 8d4d7f7a96
+1 -3
View File
@@ -33,7 +33,7 @@ type ChapterContentResponse = {
class GalaxyNovels implements Plugin.PluginBase { class GalaxyNovels implements Plugin.PluginBase {
id = 'galaxynovels'; id = 'galaxynovels';
name = 'Galaxy Novels'; name = 'Galaxy Novels';
version = '1.0.0'; version = '1.1.0';
icon = 'src/ar/galaxynovels/icon.png'; icon = 'src/ar/galaxynovels/icon.png';
site = 'https://galaxynovels.com/'; site = 'https://galaxynovels.com/';
@@ -165,7 +165,6 @@ class GalaxyNovels implements Plugin.PluginBase {
path: `${novelPath}chapter-${ch.id}/`, path: `${novelPath}chapter-${ch.id}/`,
chapterNumber: ch.position, chapterNumber: ch.position,
releaseTime: ch.date_iso?.split('T')[0] || '', releaseTime: ch.date_iso?.split('T')[0] || '',
page: String(ch.id),
})); }));
} catch { } catch {
// fallback to HTML parsing // fallback to HTML parsing
@@ -194,7 +193,6 @@ class GalaxyNovels implements Plugin.PluginBase {
path, path,
chapterNumber, chapterNumber,
releaseTime, releaseTime,
page: chapterId || '',
}); });
}); });
} }