Skip to content

Commit

Permalink
Update FarsiProvider.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMeatNo authored Sep 30, 2024
1 parent edab628 commit 6dd6d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FarsiProvider/src/main/kotlin/com/likdev256/FarsiProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ override suspend fun load(url: String): LoadResponse? {
} else if (isEpisode) {
// Adjust the selectors for movies
val title = document.selectFirst("div#info h2")?.text()?.trim() ?: return null
val poster = fixUrlNull(document.selectFirst("div#dt_galery .g-item img")?.attr("data-src"))
// val poster = fixUrlNull(document.selectFirst("div#dt_galery .g-item img")?.attr("data-src"))
val poster = fixUrlNull(document.selectFirst("#dt_galery > div.owl-wrapper-outer > div > div > div > a > img")?.attr("data-src"))
val plot = document.selectFirst("div#info div.wp-content p")?.text()?.trim()

newMovieLoadResponse(title, url, TvType.Movie, url) {
Expand Down

0 comments on commit 6dd6d0e

Please sign in to comment.