FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 a.java 源代码,内容仅作参考
package ca;
import android.content.Context;
import com.google.gson.o;
import flix.com.vision.api.alldebrid.AllDebridCommon;
import flix.com.vision.helpers.Constants;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import mc.k;
import org.apache.commons.lang3.StringUtils;
import retrofit2.Call;
public final class a {
public static k<o> addMagnetAllDebrid(List<String> list) {
HashMap hashMap = new HashMap();
hashMap.put("apikey", AllDebridCommon.f12027i);
hashMap.put("agent", "flixvision");
return c.getInstanceAllDebridAPI().addMagnetsAllDebrid(hashMap, list);
}
public static k<o> deleteMagnetAllDebrid(String str) {
HashMap hashMap = new HashMap();
hashMap.put("apikey", AllDebridCommon.f12027i);
hashMap.put("agent", "flixvision");
hashMap.put("id", str);
return c.getInstanceAllDebridAPI().deleteMagnetsAllDebrid(hashMap);
}
public static k<Void> deleteMagnetRealDebrid(String str, String str2, String str3) {
return c.getInstanceDebrid().deleteMagnetsRealDebrid(str, str2 + StringUtils.SPACE + str3);
}
public static Call<String> get123MoviesGoSeriesEpisodeServers(String str, String str2) {
return c.getInstanceHDO(str).get123MoviesGoSeriesEpisodesServers(str2);
}
public static Call<String> get123MoviesGoSeriesSeasonEpisodes(String str, String str2) {
return c.getInstanceHDO(str).get123MoviesGoSeriesSeasonEpisodes(str2);
}
public static Call<String> get123MoviesGoSeriesSeasons(String str, String str2) {
return c.getInstanceHDO(str).get123MoviesGoSeriesSeasons(str2);
}
public static k<o> getAdultCategories() {
return c.getRequest(Constants.f12301a).getAdultCategories(new HashMap());
}
public static k<o> getAllDebridUserAccount(String str) {
HashMap t10 = a.b.t("apikey", str);
HashSet hashSet = AllDebridCommon.f12024b;
t10.put("agent", "flixvision");
return c.getInstanceAllDebridAPI().loginAllDebrid(t10);
}
public static k<o> getAllMagnetAllDebrid() {
HashMap hashMap = new HashMap();
hashMap.put("apikey", AllDebridCommon.f12027i);
hashMap.put("agent", "flixvision");
return c.getInstanceAllDebridAPI().getMagnetStatusAllDebrid(hashMap);
}
public static k<o> getCast(Context context, String str, long j10) {
return c.getRequestTmdb().getCasts(str, String.valueOf(j10), a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US"));
}
public static k<o> getCollection(long j10) {
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("append_to_response", "external_ids");
return c.getRequestTmdb().getCollection(String.valueOf(j10), u10);
}
public static k<o> getDetailCast(Context context, String str, long j10, boolean z10) {
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("include_adult", Boolean.toString(z10));
return c.getRequestTmdb().getDetailCast(String.valueOf(j10), str, u10);
}
public static k<o> getDetails(Context context, String str, long j10) {
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("append_to_response", "external_ids");
return c.getRequestTmdb().getDetails(str, String.valueOf(j10), u10);
}
public static k<o> getEpisode(Context context, String str, String str2, String str3) {
return c.getRequestTmdb().getEpisode(str, str2, str3, a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US"));
}
public static k<o> getItemsByGenres(Context context, String str, int i10, int i11, String str2, String str3, int i12) {
String str4 = i11 == 0 ? "movie" : "tv";
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("include_adult", Boolean.toString(false));
u10.put("include_video", Boolean.toString(false));
if (i12 != -1) {
if (i12 == 999) {
u10.put("with_origin_country", "IN");
} else if (i11 == 0) {
u10.put("with_watch_providers", String.valueOf(mb.a.getProviderId(i12)));
} else {
u10.put("with_networks", String.valueOf(i12));
}
}
if (str2 != null) {
if (i11 == 1) {
u10.put("first_air_date_year", str2);
} else {
u10.put("primary_release_year", str2);
}
}
u10.put("sort_by", str3);
if (!str.equals("-1") && !str.equals("0")) {
u10.put("with_genres", str);
}
u10.put("page", String.valueOf(i10));
return c.getRequestTmdb().getDiscover(str4, u10);
}
public static k<o> getItemsByGenresLeanBack(Context context, String str, int i10, int i11, String str2, boolean z10) {
String str3 = i11 == 0 ? "movie" : "tv";
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("sort_by", str2);
u10.put("include_adult", Boolean.toString(false));
u10.put("include_video", Boolean.toString(false));
if (!str.equals("-1")) {
u10.put("with_genres", str);
}
u10.put("page", String.valueOf(i10));
return c.getRequestTmdb().getDiscover(str3, u10);
}
public static k<o> getLinkRealDebrid(String str, String str2, String str3) {
HashMap t10 = a.b.t("link", str);
return c.getInstanceDebrid().getLinkRealDebrid(t10, str2 + StringUtils.SPACE + str3);
}
public static k<o> getLinks123MoviesGo(String str, String str2) {
return c.getInstanceFlix(str).get123MoviesGo(str2);
}
public static Call<String> getLinks123MoviesGoMeta(String str, String str2) {
return c.getInstanceHDO(str).get123MoviesGoMeta(str2);
}
public static k<o> getListEpisode(Context context, String str, String str2) {
return c.getRequestTmdb().getListEpisode(str, str2, a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US"));
}
public static k<o> getMagnetStatusAllDebrid(String str) {
HashMap hashMap = new HashMap();
hashMap.put("apikey", AllDebridCommon.f12027i);
hashMap.put("agent", "flixvision");
hashMap.put("id", str + "");
return c.getInstanceAllDebridAPI().getMagnetStatusAllDebrid(hashMap);
}
public static k<o> getMagnetsRealDebridAll(String str, String str2, int i10) {
HashMap hashMap = new HashMap();
hashMap.put("limit", i10 + "");
return c.getInstanceDebrid().getMagnetsRealDebrid(hashMap, str + StringUtils.SPACE + str2);
}
public static k<o> getMagnetsRealDebridLatest(String str, String str2, int i10) {
HashMap hashMap = new HashMap();
hashMap.put("limit", i10 + "");
return c.getInstanceDebrid().getMagnetsRealDebrid(hashMap, str + StringUtils.SPACE + str2);
}
public static k<o> getPremUserAccount(String str) {
return c.getInstancePremiumizeAPI().loginPremiumize(a.b.t("apikey", str));
}
public static k<o> getRating(Context context, String str, long j10) {
return c.getRequestTmdb().getRating(str, String.valueOf(j10), a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US"));
}
public static k<o> getRatingSeries(Context context, String str, long j10) {
return c.getRequestTmdb().getRatingSeries(str, String.valueOf(j10), a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US"));
}
public static k<o> getRealDebridUserAccount(String str, String str2) {
return c.getInstanceDebrid().getUserRealDebrid(str + StringUtils.SPACE + str2);
}
public static k<o> getSeeAlso(Context context, int i10, long j10) {
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("include_adult", Boolean.toString(false));
u10.put("include_video", Boolean.toString(false));
u10.put("page", "1");
return c.getRequestTmdb().getSeeAlso(i10 == 0 ? "movie" : "tv", String.valueOf(j10), u10);
}
public static k<o> getStreamingServices(Context context, String str, long j10) {
return c.getRequestTmdb().getStreamingServices(str, String.valueOf(j10), a.b.t("api_key", "2f3cb5763db1117fcba3948632f8aad9"));
}
public static k<o> getSuggest(Context context, String str) {
HashMap u10 = a.b.u("client", "youtube", "ds", "yt");
u10.put("q", str);
return c.getInstanceFlix("http://suggestqueries.google.com").getSuggestSearchGoogle(u10);
}
public static k<o> getTorrent(String str, String str2, String str3) {
HashMap t10 = a.b.t("magnet", str);
return c.getInstanceDebrid().getLinkRealDebridTorrent(t10, str2 + StringUtils.SPACE + str3);
}
public static k<o> getTrailer(Context context, String str, long j10) {
return c.getRequestTmdb().getTrailer(str, String.valueOf(j10), a.b.t("api_key", "2f3cb5763db1117fcba3948632f8aad9"));
}
public static k<o> getUserTorrentPrem(String str) {
return c.getInstancePremiumizeAPI().getUserTorrentsPrem(a.b.t("apikey", str));
}
public static k<o> gettabbedList(Context context, int i10, String str, int i11) {
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("include_video", Boolean.toString(false));
u10.put("include_adult", Boolean.toString(false));
u10.put("page", String.valueOf(i10));
if (str == null || !str.equalsIgnoreCase("movie")) {
if (str != null && str.equalsIgnoreCase("tv")) {
if (i11 == 0) {
return c.getRequestTmdb().getTrending(str, u10);
}
if (i11 == 1) {
return c.getRequestTmdb().getNowPlayingShows(u10);
}
if (i11 == 2) {
return c.getRequestTmdb().getPopular(str, u10);
}
if (i11 == 3) {
return c.getRequestTmdb().getTopRated(str, u10);
}
if (i11 == 4) {
return c.getRequestTmdb().getAiringToday(str, u10);
}
}
} else {
if (i11 == 0) {
return c.getRequestTmdb().getTrending(str, u10);
}
if (i11 == 1) {
return c.getRequestTmdb().getNowPlayingMovies(u10);
}
if (i11 == 2) {
return c.getRequestTmdb().getPopular(str, u10);
}
if (i11 == 3) {
return c.getRequestTmdb().getTopRated(str, u10);
}
if (i11 == 4) {
return c.getRequestTmdb().getUpcoming(str, u10);
}
}
return c.getRequestTmdb().getTrending(str, u10);
}
public static k<o> searchData(Context context, String str, int i10, String str2, boolean z10) {
if (str == null) {
str = "";
}
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("include_adult", Boolean.toString(false));
u10.put("include_video", Boolean.toString(false));
u10.put("page", String.valueOf(i10));
u10.put("query", str);
return c.getRequestTmdb().searchData(str2, u10);
}
public static k<o> searchDataMulti(Context context, String str, int i10, boolean z10) {
if (str == null) {
str = "";
}
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("page", String.valueOf(i10));
u10.put("query", str);
u10.put("include_adult", Boolean.toString(false));
u10.put("include_video", Boolean.toString(false));
return c.getRequestTmdb().getSearchMulti(u10);
}
public static k<o> searchPeople(Context context, String str, int i10) {
if (str == null) {
str = "";
}
HashMap u10 = a.b.u("api_key", "2f3cb5763db1117fcba3948632f8aad9", "language", "en-US");
u10.put("page", String.valueOf(i10));
u10.put("query", str);
u10.put("include_adult", Boolean.toString(false));
return c.getRequestTmdb().searchPeople(u10);
}
public static k<o> unlockLinkAllDebrid(String str) {
HashMap hashMap = new HashMap();
hashMap.put("apikey", AllDebridCommon.f12027i);
hashMap.put("agent", "flixvision");
hashMap.put("link", str);
return c.getInstanceAllDebridAPI().unlockLinkAllDebrid(hashMap);
}
}