update url ThunderScans "all" and use random url part for ThunderScans "En" (#2986)

* update url ThunderScans "all" and use random url part for ThunderScans "En"

* Update src/all/thunderscans/build.gradle

---------

Co-authored-by: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com>
This commit is contained in:
mohamedotaku 2024-05-13 16:34:48 +01:00 committed by Draff
parent f3314852bd
commit a3f9894b5c
2 changed files with 5 additions and 6 deletions

View File

@ -2,8 +2,8 @@ ext {
extName = 'Thunder Scans'
extClass = '.ThunderScansFactory'
themePkg = 'mangathemesia'
baseUrl = 'https://thunderscans.com'
overrideVersionCode = 1
baseUrl = 'https://en-thunderepic.com'
overrideVersionCode = 2
}
apply from: "$rootDir/common.gradle"

View File

@ -1,6 +1,5 @@
package eu.kanade.tachiyomi.extension.all.thunderscans
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesiaAlt
import eu.kanade.tachiyomi.source.SourceFactory
import java.text.SimpleDateFormat
@ -15,14 +14,14 @@ class ThunderScansFactory : SourceFactory {
class ThunderScansAR : MangaThemesiaAlt(
"Thunder Scans",
"https://thunderscans.com",
"https://ar-thunderepic.com",
"ar",
dateFormat = SimpleDateFormat("MMM d, yyy", Locale("ar")),
)
class ThunderScansEN : MangaThemesia(
class ThunderScansEN : MangaThemesiaAlt(
"Thunder Scans",
"https://en-thunderscans.com",
"https://en-thunderepic.com",
"en",
mangaUrlDirectory = "/comics",
)