diff --git a/src/all/deviantart/build.gradle b/src/all/deviantart/build.gradle index 2d28101d2..81534ca6a 100644 --- a/src/all/deviantart/build.gradle +++ b/src/all/deviantart/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'DeviantArt' extClass = '.DeviantArt' - extVersionCode = 1 + extVersionCode = 2 isNsfw = true } diff --git a/src/all/deviantart/src/eu/kanade/tachiyomi/extension/all/deviantart/DeviantArt.kt b/src/all/deviantart/src/eu/kanade/tachiyomi/extension/all/deviantart/DeviantArt.kt index b52a281da..5c56b1444 100644 --- a/src/all/deviantart/src/eu/kanade/tachiyomi/extension/all/deviantart/DeviantArt.kt +++ b/src/all/deviantart/src/eu/kanade/tachiyomi/extension/all/deviantart/DeviantArt.kt @@ -74,7 +74,7 @@ class DeviantArt : HttpSource() { val manga = SManga.create().apply { // If manga is sub-gallery then use sub-gallery name, else use gallery name title = subFolderGallery?.selectFirst("._2vMZg + ._2vMZg")?.text()?.substringBeforeLast(" ") - ?: document.selectFirst(".ds-card-selected h2")!!.text() + ?: subFolderGallery?.selectFirst("[aria-haspopup=listbox] > div")!!.ownText() author = document.title().substringBefore(" ") description = subFolderGallery?.selectFirst(".legacy-journal")?.wholeText() thumbnail_url = subFolderGallery?.selectFirst("img[property=contentUrl]")?.absUrl("src")