厂长影视bug

This commit is contained in:
lushunming 2024-08-06 11:44:22 +08:00
parent 631ba46d9d
commit 5a831250ca
5 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ public class ChangZhang extends Spider {
String realUrl = new String(new BigInteger(StringUtils.reverse(encodedStr), 16).toByteArray()); String realUrl = new String(new BigInteger(StringUtils.reverse(encodedStr), 16).toByteArray());
Map<String, String> header = getVideoHeader(); Map<String, String> header = getVideoHeader();
String temp = decodeStr(realUrl); String temp = decodeStr(realUrl);
return Result.get().url(ProxyVideo.buildCommonProxyUrl(temp, header)).header(getVideoHeader()).string(); return Result.get().url(temp).string();
} }
String decodeStr(String _0x267828) { String decodeStr(String _0x267828) {

View File

@ -28,7 +28,7 @@ public class ChangZhangTest {
mockContext = RuntimeEnvironment.application; mockContext = RuntimeEnvironment.application;
Init.init(mockContext); Init.init(mockContext);
spider = new ChangZhang(); spider = new ChangZhang();
spider.init(mockContext, ""); spider.init(mockContext, "https://www.czzy.site/");
} }
@org.junit.Test @org.junit.Test

Binary file not shown.

View File

@ -1 +1 @@
d17c974be75fee8d8a303a2e0a2455ee a2dc46da2b4b48c7111366fa3e02897e

View File

@ -1,5 +1,5 @@
{ {
"spider": "../jar/custom_spider.jar;md5;d17c974be75fee8d8a303a2e0a2455ee", "spider": "../jar/custom_spider.jar;md5;a2dc46da2b4b48c7111366fa3e02897e",
"lives": [ "lives": [
{ {
"name": "直播ipv6", "name": "直播ipv6",