(String flag, String id, List<String> vipFlags)
| 93 | } |
| 94 | Vod vod = new Vod(); |
| 95 | vod.setVodPlayFrom(TextUtils.join("$$$", flags.values())); |
| 96 | vod.setVodPlayUrl(TextUtils.join("$$$", playUrls)); |
| 97 | return Result.string(vod); |
| 98 | } |
| 99 | |
| 100 | @Override |
| 101 | public String playerContent(String flag, String id, List<String> vipFlags) { |
| 102 | Matcher m = Pattern.compile("contentUrl\":\"(.*?)\"").matcher(OkHttp.string(url + id, getHeader())); |
| 103 | if (m.find()) return Result.get().url(m.group(1).replace("\\", "")).string(); |