fix arabseed, update base url for Shahed4u , fix streamsb Extractor (#1177)

* Update build.gradle

* update
This commit is contained in:
Ahmed gamal
2023-01-17 03:30:04 +02:00
committed by GitHub
parent 2ca631ef47
commit 381194f109
5 changed files with 59 additions and 33 deletions

View File

@ -32,9 +32,9 @@ class StreamSBExtractor(private val client: OkHttpClient) {
.substringBefore(".html")
return if (common) {
val hexBytes = bytesToHex(id.toByteArray())
"$sbUrl/sources48/625a364258615242766475327c7c${hexBytes}7c7c4761574550654f7461566d347c7c73747265616d7362"
"$sbUrl/sources50/625a364258615242766475327c7c${hexBytes}7c7c4761574550654f7461566d347c7c73747265616d7362"
} else {
"$sbUrl/sources48/${bytesToHex("||$id||||streamsb".toByteArray())}/"
"$sbUrl/sources50/${bytesToHex("||$id||||streamsb".toByteArray())}/"
}
}