webtoons.com (ID), preserve old source id
This commit is contained in:
parent
cdaf1493cd
commit
5fb99e11eb
@ -1,7 +1,7 @@
|
||||
ext {
|
||||
extName = 'Webtoons.com'
|
||||
extClass = '.WebtoonsFactory'
|
||||
extVersionCode = 46
|
||||
extVersionCode = 47
|
||||
isNsfw = false
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,10 @@ import java.util.Locale
|
||||
class WebtoonsFactory : SourceFactory {
|
||||
override fun createSources() = listOf(
|
||||
Webtoons("en", dateFormat = SimpleDateFormat("MMM d, yyyy", Locale.ENGLISH)),
|
||||
Webtoons("id", dateFormat = SimpleDateFormat("d MMMM yyyy", Locale("id"))),
|
||||
object : Webtoons("id", dateFormat = SimpleDateFormat("d MMMM yyyy", Locale("id"))) {
|
||||
// Override ID as part of the name was removed to be more consiten with other enteries
|
||||
override val id: Long = 8749627068478740298
|
||||
},
|
||||
Webtoons("th", dateFormat = SimpleDateFormat("d MMM yyyy", Locale("th"))),
|
||||
Webtoons("es", dateFormat = SimpleDateFormat("d MMMM. yyyy", Locale("es"))),
|
||||
Webtoons("fr", dateFormat = SimpleDateFormat("d MMM yyyy", Locale.FRENCH)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user