Snaptube v4.40.0.4401610版本的 MD5 值为:ca2b95dcff63007195db02a6c93091b9

以下内容为反编译后的 bav.java 源代码,内容仅作参考


package o;

import android.net.Uri;
import android.text.TextUtils;
import com.snaptube.extractor.pluginlib.youtube.VideoDecipherInfo;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.ExecutionException;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class bav implements baq {
    @Override
    public List<VideoDecipherInfo> mo16348(String str, List<String> list) throws ExecutionException {
        LinkedList linkedList = new LinkedList();
        try {
            String m16318 = bal.m16318(Uri.parse("http://api.snappea.com/v1/video/bsd").buildUpon().appendQueryParameter("es", bap.m16333(list)).appendQueryParameter("jsUrl", str).build().toString(), "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36");
            if (!TextUtils.isEmpty(m16318)) {
                JSONArray jSONArray = new JSONArray(m16318);
                for (int i = 0; i < jSONArray.length(); i++) {
                    JSONObject jSONObject = jSONArray.getJSONObject(i);
                    VideoDecipherInfo videoDecipherInfo = new VideoDecipherInfo();
                    videoDecipherInfo.setSignDecrypted(jSONObject.getString("signDecrypted"));
                    videoDecipherInfo.setSignEncrypted(jSONObject.getString("signEncrypted"));
                    linkedList.add(videoDecipherInfo);
                }
            }
        } catch (IOException | JSONException e) {
            e.printStackTrace();
        }
        return linkedList;
    }
}