changed daddyhd domain

This commit is contained in:
sora 2023-07-22 12:45:24 +07:00
parent b8b87dea74
commit 89a619929b
4 changed files with 9 additions and 5 deletions

View file

@ -1,5 +1,5 @@
// use an integer for version numbers
version = 15
version = 16
cloudstream {

View file

@ -19,7 +19,7 @@ open class TimefourTv : MainAPI() {
)
companion object {
const val daddyUrl = "https://d.daddylivehd.sx"
const val daddyUrl = "https://daddylivehd.com"
val daddyHost: String = daddyUrl.getHost()
private fun String.getHost(): String {
return URI(this).host.substringBeforeLast(".").substringAfterLast(".")