WitAnime: Add new server (#275)

* Update WitAnime.kt

* Update build.gradle
This commit is contained in:
Ahmed gamal
2022-01-28 21:46:51 +02:00
committed by GitHub
parent 099426f2a3
commit ee21d9ccc9
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'WIT ANIME'
pkgNameSuffix = 'ar.witanime'
extClass = '.WitAnime'
extVersionCode = 10
extVersionCode = 11
libVersion = '12'
}

View File

@ -93,6 +93,10 @@ class WitAnime : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
val videos = FembedExtractor().videosFromUrl(url)
videoList.addAll(videos)
}
server.contains("vivyplay") -> {
val videos = FembedExtractor().videosFromUrl(url)
videoList.addAll(videos)
}
/*server.contains("ok") -> {
val videos = OkruExtractor(client).videosFromUrl(url)
if (videos == null) {