FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 c.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 c extends BaseProcessor {
public final Movie f19814f;
public final String f19815g = "https://solidtorrents.to";
public boolean f19816h = false;
public class a extends q2.m {
public a(String str, w wVar, xb.a aVar) {
super(0, str, wVar, aVar);
}
@Override
public Map<String, String> getHeaders() {
return a.b.t("authorization", RealDebridCommon.f12032h + StringUtils.SPACE + RealDebridCommon.f12030b);
}
}
public c(Context context, Movie movie, hb.e eVar) {
this.f19814f = movie;
this.f12420b = eVar;
EventBus.getDefault().register(this);
}
public void appendLog(String str) {
}
public final void b(String str, String str2) {
App.getInstance().getRequestQueue().add(new a(str, new w(12, this, str2), new xb.a(this)));
}
@Subscribe(threadMode = ThreadMode.MAIN)
public void onMessageEvent(Constants.a aVar) {
this.f19816h = true;
EventBus.getDefault().unregister(this);
}
public void process(int i10) {
String replace;
if (i10 > 1) {
this.f12419a = 8;
}
if (this.f19816h) {
return;
}
StringBuilder sb2 = new StringBuilder();
Movie movie = this.f19814f;
sb2.append(movie.getTitle().replace("&", ""));
sb2.append(StringUtils.SPACE);
sb2.append(movie.getYear());
String removeSpecialCharsKeepSpace = cc.f.removeSpecialCharsKeepSpace(sb2.toString());
String n10 = a.b.n(new StringBuilder(), this.f19815g, "/search?q=");
try {
replace = URLEncoder.encode(removeSpecialCharsKeepSpace, StandardCharsets.UTF_8.toString());
} catch (Exception unused) {
replace = n10.replace(StringUtils.SPACE, "%20");
}
new b(this, a.b.C(n10, replace), new ArrayList()).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}