FLIX VISION v2.8.2版本的 MD5 值为:4d33b143293b36f23ce5a6a5834e6993
以下内容为反编译后的 g.java 源代码,内容仅作参考
package ub;
import android.content.Context;
import android.os.AsyncTask;
import flix.com.vision.App;
import flix.com.vision.processors.english.BaseProcessor;
import j1.w;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import q2.m;
public final class g extends BaseProcessor {
public final Context f18549f;
public String f18550g;
public String f18551h;
public int f18552i;
public int f18553j;
public final boolean f18554k;
public final String f18555l = "https://allmovieland.fun/";
public class a extends m {
public a(String str, d dVar, e eVar) {
super(0, str, dVar, eVar);
}
@Override
public Map<String, String> getHeaders() {
HashMap hashMap = new HashMap();
hashMap.put("Referer", g.this.f18555l);
return hashMap;
}
}
public class b extends m {
public b(String str, d dVar, e eVar) {
super(1, str, dVar, eVar);
}
@Override
public Map<String, String> getHeaders() {
HashMap hashMap = new HashMap();
g gVar = g.this;
hashMap.put("Referer", gVar.f18550g);
hashMap.put("X-Csrf-Token", gVar.f18551h);
return hashMap;
}
}
public class c extends m {
public c(String str, w wVar, e eVar) {
super(1, str, wVar, eVar);
}
@Override
public Map<String, String> getHeaders() {
HashMap hashMap = new HashMap();
g gVar = g.this;
hashMap.put("Referer", gVar.f18550g);
hashMap.put("X-Csrf-Token", gVar.f18551h);
return hashMap;
}
}
public g(Context context, hb.e eVar, String str) {
this.f18554k = true;
this.f18549f = context;
this.f12420b = eVar;
new ArrayList();
this.f12422d = str;
this.f18554k = App.getInstance().f11732q.getBoolean("pref_show_hindi_dubbed_direct", true);
}
public void GetStreamLinkHindi(String str) {
int i10 = 0;
App.getInstance().getRequestQueue().add(new a(str, new d(this, i10), new e(i10)));
}
public void GetStreamLinkHindi2(String str) {
int i10 = 1;
App.getInstance().getRequestQueue().add(new b(str, new d(this, i10), new e(i10)));
}
public void GetStreamLinkHindi3(kb.b bVar) {
String str;
if (this.f18554k || (str = bVar.f15726b) == null || str.contains("English")) {
StringBuilder sb2 = new StringBuilder();
sb2.append(this.f12422d);
sb2.append("/playlist/");
App.getInstance().getRequestQueue().add(new c(a.b.n(sb2, bVar.f15725a, ".txt"), new w(11, this, bVar), new e(2)));
}
}
public void process(String str, int i10, int i11) {
this.f18550g = a.b.o(new StringBuilder(), this.f12422d, "/play/", str);
this.f18552i = i10;
this.f18553j = i11;
new f(this, str).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new Void[0]);
}
}