Fix md5
This commit is contained in:
parent
16d6e2dd2b
commit
f7f5dc2409
|
|
@ -52,7 +52,7 @@ public class Feiyang extends Spider {
|
||||||
String[] texts = extend.split(";md5;");
|
String[] texts = extend.split(";md5;");
|
||||||
String url = texts[0].trim();
|
String url = texts[0].trim();
|
||||||
String md5 = texts[1].trim();
|
String md5 = texts[1].trim();
|
||||||
if (md5.startsWith("http")) md5 = OkHttp.string(md5);
|
if (md5.startsWith("http")) md5 = OkHttp.string(md5).trim();
|
||||||
if (Util.MD5(f_aio).equals(md5)) return;
|
if (Util.MD5(f_aio).equals(md5)) return;
|
||||||
try {
|
try {
|
||||||
download(f_aio, OkHttp.newCall(url).body().byteStream());
|
download(f_aio, OkHttp.newCall(url).body().byteStream());
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
48afd0a8c3440520fde301c63d4ca964
|
343fe4d32b861b765cadbab3e28b618a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue