|
|
|
|
@ -104,7 +104,7 @@ public class Local extends Spider { |
|
|
|
|
Vod vod = new Vod(); |
|
|
|
|
vod.setVodId(file.getAbsolutePath()); |
|
|
|
|
vod.setVodName(file.getName()); |
|
|
|
|
vod.setVodPic(file.isFile() ? Proxy.getUrl() + "?do=local&path=" + Base64.encodeToString(file.getAbsolutePath().getBytes(), Base64.DEFAULT | Base64.URL_SAFE) : Image.FOLDER); |
|
|
|
|
vod.setVodPic(file.isFile() ? "proxy://do=local&path=" + Base64.encodeToString(file.getAbsolutePath().getBytes(), Base64.DEFAULT | Base64.URL_SAFE) : Image.FOLDER); |
|
|
|
|
vod.setVodRemarks(format.format(file.lastModified())); |
|
|
|
|
vod.setVodTag(file.isDirectory() ? "folder" : "file"); |
|
|
|
|
return vod; |
|
|
|
|
|