uc和quark空指针
This commit is contained in:
parent
69ae330c7a
commit
a0bd2a128a
|
|
@ -181,9 +181,9 @@ public class UCApi {
|
|||
List<String> playFrom = UCApi.get().getPlayFormatList();
|
||||
List<String> playFromtmp = new ArrayList<>();
|
||||
playFromtmp.add("uc原画");
|
||||
for (String s : playFrom) {
|
||||
/* for (String s : playFrom) {
|
||||
playFromtmp.add("uc" + s);
|
||||
}
|
||||
}*/
|
||||
List<String> playUrl = new ArrayList<>();
|
||||
|
||||
if (files.isEmpty()) {
|
||||
|
|
@ -233,7 +233,7 @@ public class UCApi {
|
|||
|
||||
return Result.get().url(playUrl).string();
|
||||
}*/
|
||||
return Result.get().url(ProxyServer.INSTANCE.buildProxyUrl(playUrl, header)).string();
|
||||
return Result.get().url(ProxyServer.INSTANCE.buildProxyUrl(playUrl, new HashMap<>())).string();
|
||||
}
|
||||
|
||||
private boolean testVideo(String url) {
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ public class Cloud extends Spider {
|
|||
}
|
||||
|
||||
protected String detailContentVodPlayFrom(List<String> shareLinks) {
|
||||
Collections.sort(shareLinks);
|
||||
Collections.sort(shareLinks, Collections.reverseOrder());
|
||||
List<String> from = new ArrayList<>();
|
||||
int i = 0;
|
||||
for (String shareLink : shareLinks) {
|
||||
|
|
@ -123,7 +123,7 @@ public class Cloud extends Spider {
|
|||
}
|
||||
|
||||
protected String detailContentVodPlayUrl(List<String> shareLinks) throws Exception {
|
||||
Collections.sort(shareLinks);
|
||||
Collections.sort(shareLinks, Collections.reverseOrder());
|
||||
List<String> urls = new ArrayList<>();
|
||||
for (String shareLink : shareLinks) {
|
||||
if (shareLink.matches(Util.patternUC)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue