Fix bug
This commit is contained in:
parent
53e9396817
commit
153302edf2
|
|
@ -33,7 +33,7 @@ public class Feiyang extends Spider {
|
||||||
public String liveContent(String url) {
|
public String liveContent(String url) {
|
||||||
int retry = 0;
|
int retry = 0;
|
||||||
while ((OkHttp.string(URL)).isEmpty() && retry++ < 10) SystemClock.sleep(250);
|
while ((OkHttp.string(URL)).isEmpty() && retry++ < 10) SystemClock.sleep(250);
|
||||||
return OkHttp.string(!url.isEmpty() ? url : URL + extend);
|
return OkHttp.string(!url.isEmpty() ? url : extend.startsWith("http") ? extend : URL + extend);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void createShell() {
|
private void createShell() {
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
4ca3625761f6a9730996f97052237ee6
|
5eca10ef7ce239ec9dfe462c87d57519
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue