Pururin fix alternate title error

This commit is contained in:
Jobobby04 2020-07-05 21:42:05 -04:00
parent e06e14d979
commit 6dc05eaf3f

View File

@ -62,7 +62,7 @@ class Pururin(delegate: HttpSource) :
val contentWrapper = input.selectFirst(".content-wrapper") val contentWrapper = input.selectFirst(".content-wrapper")
title = contentWrapper.selectFirst(".title h1").text() title = contentWrapper.selectFirst(".title h1").text()
altTitle = contentWrapper.selectFirst(".alt-title").text() altTitle = contentWrapper.selectFirst(".alt-title")?.text()
thumbnailUrl = "https:" + input.selectFirst(".cover-wrapper v-lazy-image").attr("src") thumbnailUrl = "https:" + input.selectFirst(".cover-wrapper v-lazy-image").attr("src")