This commit is contained in:
Arjix 2021-08-29 18:54:51 +03:00 committed by GitHub
parent 08d557a82e
commit 0f7bc046ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,7 @@ class AsiaFlixProvider : MainAPI() {
} }
private fun Episodes.toTvSeriesEpisode(): TvSeriesEpisode? { private fun Episodes.toTvSeriesEpisode(): TvSeriesEpisode? {
if (videoUrl?.contains("watch/null")) return null
return videoUrl?.let { return videoUrl?.let {
TvSeriesEpisode( TvSeriesEpisode(
null, null,
@ -181,4 +182,4 @@ class AsiaFlixProvider : MainAPI() {
val dramaPage = response.toKotlinObject<DramaPage>() val dramaPage = response.toKotlinObject<DramaPage>()
return dramaPage.toLoadResponse() return dramaPage.toLoadResponse()
} }
} }