分片数优化
This commit is contained in:
parent
01e9b00a36
commit
a9f3aa3f74
|
|
@ -53,10 +53,10 @@ object DownloadMT {
|
|||
infos.clear()
|
||||
info = CoroutineScope(Dispatchers.IO).async { getInfo(url, headers) }.await()
|
||||
infos[url] = info
|
||||
//支持分片,先返回这个1MB块
|
||||
/* //支持分片,先返回这个1MB块
|
||||
if (info[0] as Int == 206) {
|
||||
return info
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
val code = info[0] as Int
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
848c7528f18727d12cc591e6de830caa
|
||||
4684441f8b63caf371b0f67118bbae23
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;848c7528f18727d12cc591e6de830caa",
|
||||
"spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;4684441f8b63caf371b0f67118bbae23",
|
||||
"lives": [
|
||||
{
|
||||
"name": "电视直播",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadkt/jar/custom_spider.jar;md5;848c7528f18727d12cc591e6de830caa",
|
||||
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/multiThreadkt/jar/custom_spider.jar;md5;4684441f8b63caf371b0f67118bbae23",
|
||||
"lives": [
|
||||
{
|
||||
"name": "电视直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue