FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 m.java 源代码,内容仅作参考
package rb;
import android.content.Context;
import android.os.AsyncTask;
import flix.com.vision.models.Movie;
import flix.com.vision.processors.english.BaseProcessor;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Locale;
import org.apache.commons.lang3.StringUtils;
import org.jsoup.nodes.Element;
import v9.n0;
public final class m extends BaseProcessor {
public final Movie f17904f;
public int f17905g;
public int f17906h;
public m(Context context, Movie movie, hb.e eVar) {
this.f17904f = movie;
this.f12420b = eVar;
new ArrayList();
this.f12422d = "https://www1.123moviesgo.ac";
}
public String getEpisodeId(String str) {
String attr;
try {
Iterator<Element> it = ue.a.parse("<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><body>" + ca.a.get123MoviesGoSeriesSeasonEpisodes(this.f12422d, str).execute().body() + "</body>").getElementsByClass("swiper-slide").iterator();
while (it.hasNext()) {
Element next = it.next();
if (next.text().trim().toLowerCase(Locale.ROOT).contains("episode " + this.f17905g)) {
Iterator<Element> it2 = next.getElementsByTag("DIV").iterator();
while (it2.hasNext()) {
Element next2 = it2.next();
if (next2.attr("id").toLowerCase(Locale.ROOT).contains("episode") && (attr = next2.attr("data-id")) != null) {
return attr;
}
}
}
}
return null;
} catch (Exception unused) {
return null;
}
}
public void getEpisodeServers(String str) {
String attr;
try {
Iterator<Element> it = ue.a.parse("<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><body>" + ca.a.get123MoviesGoSeriesEpisodeServers(this.f12422d, str).execute().body() + "</body>").getElementsByTag("LI").iterator();
while (it.hasNext()) {
Element first = it.next().getElementsByTag("A").first();
if (first != null && (attr = first.attr("data-id")) != null) {
ca.a.getLinks123MoviesGo(this.f12422d, attr).subscribeOn(fd.a.newThread()).observeOn(fd.a.newThread()).subscribe(new l0.c(this, 26), new n0(26));
}
}
} catch (Exception unused) {
}
}
public String getSeasonId(String str) {
try {
Iterator<Element> it = ue.a.parse("<!DOCTYPE html>\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><body>" + ca.a.get123MoviesGoSeriesSeasons(this.f12422d, str).execute().body() + "</body>").getElementsByTag("A").iterator();
while (it.hasNext()) {
Element next = it.next();
if (next.text().trim().equalsIgnoreCase("season " + this.f17906h)) {
return next.attr("data-id");
}
}
return null;
} catch (Exception unused) {
return null;
}
}
public void process(int i10, int i11) {
this.f17905g = i11;
this.f17906h = i10;
Movie movie = this.f17904f;
String replace = movie.getTitle().replace(",", "").replace("(", "").replace(")", "");
if (replace.toLowerCase().contains("birds of prey") && movie.f12396y.equals("2020")) {
replace = "Birds Of Prey";
}
replace.replace(StringUtils.SPACE, "+");
new l(this, a.b.o(new StringBuilder(), this.f12422d, "/search/", BaseProcessor.removeSpecialCharsOld(movie.getTitle()).replace(StringUtils.SPACE, "-"))).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}