FLIX VISION v2.8.2版本的 MD5 值为:4c8f04d6db90386313134c0796491235
以下内容为反编译后的 f.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.net.URLEncoder;
import java.nio.charset.StandardCharsets;
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 f extends BaseProcessor {
public final Movie f19823f;
public int f19824g;
public int f19825h;
public String f19826i;
public final String f19827j = "https://solidtorrents.to";
public boolean f19828k = 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 f(Context context, Movie movie, hb.e eVar) {
this.f19823f = 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(13, this, str2), new ub.e(5)));
}
@Subscribe(threadMode = ThreadMode.MAIN)
public void onMessageEvent(Constants.a aVar) {
this.f19828k = true;
EventBus.getDefault().unregister(this);
}
public void process(int i10, int i11, int i12) {
String replace;
if (i12 > 1) {
this.f12419a = 8;
}
this.f19824g = i10;
this.f19825h = i11;
if (this.f19828k) {
return;
}
this.f19826i = "S" + cc.f.formatSeasonnumber(this.f19824g) + "E" + cc.f.formatSeasonnumber(this.f19825h);
String removeSpecialCharsKeepSpace = cc.f.removeSpecialCharsKeepSpace(cc.f.removeSpecialCharsKeepSpace(this.f19823f.getTitle()) + StringUtils.SPACE + this.f19826i);
String n10 = a.b.n(new StringBuilder(), this.f19827j, "/search?q=");
try {
replace = URLEncoder.encode(removeSpecialCharsKeepSpace, StandardCharsets.UTF_8.toString());
} catch (Exception unused) {
replace = n10.replace(StringUtils.SPACE, "%20");
}
new e(this, a.b.C(n10, replace), new ArrayList()).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}