Update AsiaFlixProvider.kt

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

View file

@ -90,7 +90,7 @@ class AsiaFlixProvider : MainAPI() {
}
private fun Episodes.toTvSeriesEpisode(): TvSeriesEpisode? {
if (videoUrl?.contains("watch/null")) return null
if (videoUrl?.contains("watch/null") || number == null) return null
return videoUrl?.let {
TvSeriesEpisode(
null,