FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 b.java 源代码,内容仅作参考
package sb;
import android.content.Context;
import android.os.AsyncTask;
import flix.com.vision.App;
import flix.com.vision.models.Movie;
import flix.com.vision.processors.english.BaseProcessor;
import java.util.ArrayList;
import java.util.Iterator;
import okhttp3.Response;
import org.apache.commons.lang3.StringUtils;
import org.jsoup.nodes.Element;
public final class b extends BaseProcessor {
public final Movie f18076f;
public b(Context context, Movie movie, hb.e eVar) {
this.f18076f = movie;
this.f12420b = eVar;
new ArrayList();
this.f12422d = "https://emovies.si";
}
public final String b() {
Movie movie = this.f18076f;
try {
removeSpecialChars(movie.getTitle());
Iterator<Element> it = ue.a.parse(App.get(this.f12422d + "/movie/search/" + movie.getTitle().replace(StringUtils.SPACE, "+"), this.f12422d).body().string()).getElementsByClass("ml-item").iterator();
while (it.hasNext()) {
Element next = it.next();
String lowerCase = next.text().toLowerCase();
if (lowerCase.contains(movie.getTitle().toLowerCase()) && lowerCase.contains(movie.f12396y)) {
Response ajax = App.getAjax(next.getElementsByTag("A").first().attr("data-url"));
if (ajax.isSuccessful()) {
Iterator<Element> it2 = ue.a.parse(ajax.body().string()).getElementsByTag("A").iterator();
while (it2.hasNext()) {
Element next2 = it2.next();
if (next2.attr("href").contains(this.f12422d)) {
return next2.attr("href");
}
}
} else {
continue;
}
}
}
return null;
} catch (Exception unused) {
return null;
}
}
public void process() {
Movie movie = this.f18076f;
new a(this, movie.getTitle().replace(StringUtils.SPACE, "-").trim(), movie).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}