GDIndex: Fix stuff (#1503)
This commit is contained in:
@ -6,7 +6,7 @@ ext {
|
|||||||
extName = 'GoogleDriveIndex'
|
extName = 'GoogleDriveIndex'
|
||||||
pkgNameSuffix = 'all.googledriveindex'
|
pkgNameSuffix = 'all.googledriveindex'
|
||||||
extClass = '.GoogleDriveIndex'
|
extClass = '.GoogleDriveIndex'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
libVersion = '13'
|
libVersion = '13'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -434,6 +434,10 @@ class GoogleDriveIndex : ConfigurableAnimeSource, AnimeHttpSource() {
|
|||||||
?: doc.selectFirst("script:containsData(downloaddomain)")?.data()
|
?: doc.selectFirst("script:containsData(downloaddomain)")?.data()
|
||||||
?: return Observable.just(listOf(Video(url, "Video", url)))
|
?: return Observable.just(listOf(Video(url, "Video", url)))
|
||||||
|
|
||||||
|
if (script.contains("\"second_domain_for_dl\":false")) {
|
||||||
|
return Observable.just(listOf(Video(url, "Video", url)))
|
||||||
|
}
|
||||||
|
|
||||||
val domainUrl = if (script.contains("videodomain", true)) {
|
val domainUrl = if (script.contains("videodomain", true)) {
|
||||||
script
|
script
|
||||||
.substringAfter("\"videodomain\":\"")
|
.substringAfter("\"videodomain\":\"")
|
||||||
|
Reference in New Issue
Block a user