small fix

This commit is contained in:
Arjix 2021-09-01 20:31:37 +03:00 committed by GitHub
parent f570a60bba
commit c88c298ff4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -283,7 +283,7 @@ class TrailersToProvider : MainAPI() {
} else ""
val data = mapper.writeValueAsString(
Pair(subUrl, fixUrl(document.selectFirst("content").attr("data-url") ?: return null))
Pair(subUrl, fixUrl(document.selectFirst("content")?.attr("data-url") ?: return null))
)
return MovieLoadResponse(
title,