This commit is contained in:
FongMi 2024-12-13 15:22:12 +08:00
parent 9518f336c5
commit b5774a4768
3 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class Feiyang extends Spider {
@Override
public String liveContent(String url) {
int retry = 0;
while ((OkHttp.string(URL)).isEmpty() && retry++ < 10) SystemClock.sleep(250);
while ((OkHttp.string(URL)).isEmpty() && retry++ < 20) SystemClock.sleep(250);
return OkHttp.string(url.startsWith("http") ? url : URL + url);
}
@ -55,7 +55,8 @@ public class Feiyang extends Spider {
if (md5.startsWith("http")) md5 = OkHttp.string(md5).trim();
if (Util.MD5(f_aio).equals(md5)) return;
try {
download(f_aio, OkHttp.newCall(url).body().byteStream());
File file = Path.create(new File(Path.download(), AIO));
download(file, OkHttp.newCall(url).body().byteStream());
} catch (Exception e) {
e.printStackTrace();
}

Binary file not shown.

View File

@ -1 +1 @@
963016ff591ca82b430d9863bc55f11f
326f3af6d449e9cf1ad021d925b58887