Add nhentai source.

This commit is contained in:
NerdNumber9
2017-03-09 16:01:34 -05:00
parent 0a7812bb2c
commit c8a8eb0a4d
12 changed files with 366 additions and 22 deletions

View File

@ -14,6 +14,9 @@ class ExGalleryMetadata : SearchableGalleryMetadata() {
var thumbnailUrl: String? = null
var title: String? = null
var altTitle: String? = null
var genre: String? = null
var datePosted: Long? = null
@ -27,6 +30,7 @@ class ExGalleryMetadata : SearchableGalleryMetadata() {
var ratingCount: Int? = null
var averageRating: Double? = null
override fun getTitles() = listOf(title, altTitle).filterNotNull()
private fun splitGalleryUrl()
= url?.let {