Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version
kotlin-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization_version" }
kotlin-json-okio = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json-okio", version.ref = "serialization_version" }

injekt-core = { module = "com.github.inorichi.injekt:injekt-core", version = "65b0440" }
injekt-core = { module = "com.github.mihonapp:injekt", version = "91edab2317" }
jsoup = { module = "org.jsoup:jsoup", version = "1.16.1" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version = "5.0.0-alpha.11" }
rxandroid = { module = "io.reactivex:rxandroid", version = "1.2.1" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,16 @@ abstract class AnimeHttpSource : AnimeCatalogueSource {
throw Exception("Stub!")
}

/**
* Returns the resolved url of the episode link. Override only if it's needed to resolve
* the url.
*
* @param video the video information.
*/
open suspend fun resolveVideoUrl(video: Video): String? {
return video.videoUrl
}

/**
* Sorts the video list.
* Override this according to the user's preference.
Expand Down