GDIndex: Fix stuff (#1503)
This commit is contained in:
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'GoogleDriveIndex'
|
||||
pkgNameSuffix = 'all.googledriveindex'
|
||||
extClass = '.GoogleDriveIndex'
|
||||
extVersionCode = 4
|
||||
extVersionCode = 5
|
||||
libVersion = '13'
|
||||
}
|
||||
|
||||
|
@ -434,6 +434,10 @@ class GoogleDriveIndex : ConfigurableAnimeSource, AnimeHttpSource() {
|
||||
?: doc.selectFirst("script:containsData(downloaddomain)")?.data()
|
||||
?: 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)) {
|
||||
script
|
||||
.substringAfter("\"videodomain\":\"")
|
||||
|
Reference in New Issue
Block a user