FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 i.java 源代码,内容仅作参考
package xb;
import android.content.Context;
import android.os.AsyncTask;
import flix.com.vision.App;
import flix.com.vision.api.realdebrid.RealDebridCommon;
import flix.com.vision.helpers.Constants;
import flix.com.vision.models.Movie;
import flix.com.vision.processors.english.BaseProcessor;
import j1.w;
import java.util.ArrayList;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
public final class i extends BaseProcessor {
public final Movie f19835f;
public final String f19836g = "https://thepiratebay.party/search";
public boolean f19837h = false;
public class a extends q2.m {
public a(String str, w wVar, ub.e eVar) {
super(0, str, wVar, eVar);
}
@Override
public Map<String, String> getHeaders() {
return a.b.t("authorization", RealDebridCommon.f12032h + StringUtils.SPACE + RealDebridCommon.f12030b);
}
}
public i(Context context, Movie movie, hb.e eVar) {
this.f19835f = movie;
this.f12420b = eVar;
EventBus.getDefault().register(this);
}
public final void b(String str, String str2) {
App.getInstance().getRequestQueue().add(new a(str, new w(14, this, str2), new ub.e(7)));
}
@Subscribe(threadMode = ThreadMode.MAIN)
public void onMessageEvent(Constants.a aVar) {
this.f19837h = true;
EventBus.getDefault().unregister(this);
}
public void process(int i10) {
if (i10 > 1) {
this.f12419a = 8;
}
if (this.f19837h) {
return;
}
StringBuilder sb2 = new StringBuilder();
Movie movie = this.f19835f;
sb2.append(movie.getTitle().replace("&", ""));
sb2.append(StringUtils.SPACE);
sb2.append(movie.getYear());
String replace = cc.f.removeSpecialCharsKeepSpace(sb2.toString()).replace(StringUtils.SPACE, "%20");
String n10 = a.b.n(new StringBuilder(), this.f19836g, "/");
new h(this, a.b.C(n10, replace), new ArrayList()).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}