.class public Lcom/github/catvod/spider/Kunyu77; .super Lcom/github/catvod/crawler/Spider; .source "SourceFile" # instance fields .field private Q:Ljava/lang/String; .field private c:Ljava/lang/String; # direct methods .method public constructor ()V .registers 3 .line 1 invoke-direct {p0}, Lcom/github/catvod/crawler/Spider;->()V .line 2 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "Dalvik/2.1.0 (Linux; U; Android " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; sget-object v1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, "; " invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, " Build/" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; sget-object v1, Landroid/os/Build;->ID:Ljava/lang/String; invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v1, ")" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Lcom/github/catvod/spider/Kunyu77;->c:Ljava/lang/String; const-string v0, "okhttp/3.12.0" .line 3 iput-object v0, p0, Lcom/github/catvod/spider/Kunyu77;->Q:Ljava/lang/String; return-void .end method .method private Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; .registers 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", ")", "Ljava/util/HashMap<", "Ljava/lang/String;", "Ljava/lang/String;", ">;" } .end annotation .line 1 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V .line 2 iget-object v1, p0, Lcom/github/catvod/spider/Kunyu77;->c:Ljava/lang/String; const-string v2, "user-agent" invoke-virtual {v0, v2, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 3 sget-object v1, Lcom/github/catvod/spider/merge/ay;->q:Ljava/nio/charset/Charset; invoke-static {p1, v1}, Lcom/github/catvod/spider/merge/ay;->Vc(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; move-result-object p1 const-string v1, "TK" .line 4 invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; const-string p1, "t" .line 5 invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return-object v0 .end method .method private r(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; .registers 6 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", ")", "Ljava/util/HashMap<", "Ljava/lang/String;", "Ljava/lang/String;", ">;" } .end annotation .line 1 new-instance v0, Ljava/util/HashMap; invoke-direct {v0}, Ljava/util/HashMap;->()V .line 2 iget-object v1, p0, Lcom/github/catvod/spider/Kunyu77;->Q:Ljava/lang/String; const-string v2, "user-agent" invoke-virtual {v0, v2, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; .line 3 sget-object v1, Lcom/github/catvod/spider/merge/ay;->q:Ljava/nio/charset/Charset; invoke-static {p1, v1}, Lcom/github/catvod/spider/merge/ay;->Vc(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String; move-result-object p1 const-string v1, "TK" .line 4 invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; const-string p1, "t" .line 5 invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; return-object v0 .end method # virtual methods .method protected c(Ljava/lang/String;)Ljava/lang/String; .registers 2 return-object p1 .end method .method public categoryContent(Ljava/lang/String;Ljava/lang/String;ZLjava/util/HashMap;)Ljava/lang/String; .registers 11 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", "Z", "Ljava/util/HashMap<", "Ljava/lang/String;", "Ljava/lang/String;", ">;)", "Ljava/lang/String;" } .end annotation const-string p3, "total" const-string v0, "page" .line 1 :try_start_4 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v1 const-wide/16 v3, 0x3e8 div-long/2addr v1, v3 invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v1 .line 2 new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, "http://api.kunyu77.com/api.php/provide/searchFilter?type_id=" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p1, "&pagenum=" invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p1, "&pagesize=24" invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 .line 3 invoke-virtual {p4}, Ljava/util/HashMap;->keySet()Ljava/util/Set; move-result-object p2 .line 4 invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object p2 :goto_35 invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_73 invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 check-cast v2, Ljava/lang/String; .line 5 invoke-virtual {p4, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v3 check-cast v3, Ljava/lang/String; invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String; move-result-object v3 .line 6 invoke-virtual {v3}, Ljava/lang/String;->length()I move-result v4 if-nez v4, :cond_52 goto :goto_35 .line 7 :cond_52 new-instance v4, Ljava/lang/StringBuilder; invoke-direct {v4}, Ljava/lang/StringBuilder;->()V invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p1, "&" invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p1, "=" invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-static {v3}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;)Ljava/lang/String; move-result-object p1 invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 goto :goto_35 .line 8 :cond_73 invoke-direct {p0, p1, v1}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object p2 invoke-static {p1, p2}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object p1 .line 9 new-instance p2, Lorg/json/JSONObject; invoke-virtual {p0, p1}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object p1 invoke-direct {p2, p1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V const-string p1, "data" invoke-virtual {p2, p1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object p1 const-string p2, "result" .line 10 invoke-virtual {p1, p2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object p2 .line 11 new-instance p4, Lorg/json/JSONArray; invoke-direct {p4}, Lorg/json/JSONArray;->()V const/4 v1, 0x0 .line 12 :goto_96 invoke-virtual {p2}, Lorg/json/JSONArray;->length()I move-result v2 if-ge v1, v2, :cond_d7 .line 13 invoke-virtual {p2, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v2 .line 14 new-instance v3, Lorg/json/JSONObject; invoke-direct {v3}, Lorg/json/JSONObject;->()V const-string v4, "vod_id" const-string v5, "id" .line 15 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v4, "vod_name" const-string v5, "title" .line 16 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v4, "vod_pic" const-string v5, "videoCover" .line 17 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v4, "vod_remarks" const-string v5, "msg" .line 18 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 invoke-virtual {v3, v4, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 19 invoke-virtual {p4, v3}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; add-int/lit8 v1, v1, 0x1 goto :goto_96 .line 20 :cond_d7 new-instance p2, Lorg/json/JSONObject; invoke-direct {p2}, Lorg/json/JSONObject;->()V const/16 v1, 0x18 .line 21 invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I move-result v2 .line 22 invoke-virtual {p1, p3}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I move-result v3 const-string v4, "pagesize" .line 23 invoke-virtual {p1, v4}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I move-result p1 .line 24 invoke-virtual {p2, v0, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; const-string v0, "pagecount" .line 25 invoke-virtual {p2, v0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; const-string p1, "limit" .line 26 invoke-virtual {p2, p1, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; .line 27 invoke-virtual {p2, p3, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; const-string p1, "list" .line 28 invoke-virtual {p2, p1, p4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 29 invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object p1 :try_end_109 .catchall {:try_start_4 .. :try_end_109} :catchall_10a return-object p1 :catchall_10a const-string p1, "" return-object p1 .end method .method public detailContent(Ljava/util/List;)Ljava/lang/String; .registers 21 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Ljava/lang/String;", ">;)", "Ljava/lang/String;" } .end annotation move-object/from16 v0, p0 move-object/from16 v1, p1 const-string v2, "$$$" const-string v3, "data" const-string v4, "XSpeUFjJ" const-string v5, "android7.1.22.0.4" const-string v6, "RMX1931com.sevenVideo.app.android010110002" const-string v7, "&pcode=010110002&version=2.0.4&devid=4ac3fe96a6133de96904b8d3c8cfe16d&package=com.sevenVideo.app.android&sys=android&sysver=7.1.2&brand=realme&model=RMX1931&sj=" const-string v8, "?ids=" const-string v9, "" .line 1 :try_start_14 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v10 const-wide/16 v12, 0x3e8 div-long/2addr v10, v12 invoke-static {v10, v11}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v10 const-string v11, "http://api.kunyu77.com/api.php/provide/videoDetail" .line 2 new-instance v14, Ljava/lang/StringBuilder; invoke-direct {v14}, Ljava/lang/StringBuilder;->()V invoke-virtual {v14, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v14, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const/4 v11, 0x0 invoke-interface {v1, v11}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v15 check-cast v15, Ljava/lang/String; invoke-virtual {v14, v15}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v14, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v14, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v14 .line 3 new-instance v15, Ljava/lang/StringBuilder; invoke-direct {v15}, Ljava/lang/StringBuilder;->()V const-string v12, "/api.php/provide/videoDetailrealme4ac3fe96a6133de96904b8d3c8cfe16d" invoke-virtual {v15, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-interface {v1, v11}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v12 check-cast v12, Ljava/lang/String; invoke-virtual {v15, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v15}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v12 .line 4 invoke-direct {v0, v12, v10}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v10 invoke-static {v14, v10}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v10 .line 5 new-instance v12, Lorg/json/JSONObject; invoke-virtual {v0, v10}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object v10 invoke-direct {v12, v10}, Lorg/json/JSONObject;->(Ljava/lang/String;)V .line 6 invoke-virtual {v12, v3}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v10 .line 7 new-instance v12, Lorg/json/JSONObject; invoke-direct {v12}, Lorg/json/JSONObject;->()V .line 8 new-instance v13, Lorg/json/JSONArray; invoke-direct {v13}, Lorg/json/JSONArray;->()V .line 9 new-instance v14, Lorg/json/JSONObject; invoke-direct {v14}, Lorg/json/JSONObject;->()V const-string v15, "videoName" .line 10 invoke-virtual {v10, v15}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v15 const-string v11, "vod_id" move-object/from16 v18, v12 const-string v12, "id" .line 11 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_name" .line 12 invoke-virtual {v14, v11, v15}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_pic" const-string v12, "videoCover" .line 13 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "type_name" const-string v12, "subCategory" .line 14 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_year" const-string v12, "year" .line 15 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_area" const-string v12, "area" .line 16 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_remarks" const-string v12, "msg" .line 17 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_actor" const-string v12, "actor" .line 18 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_director" const-string v12, "director" .line 19 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v12 invoke-virtual {v14, v11, v12}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v11, "vod_content" const-string v12, "brief" .line 20 invoke-virtual {v10, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v10 invoke-virtual {v10}, Ljava/lang/String;->trim()Ljava/lang/String; move-result-object v10 invoke-virtual {v14, v11, v10}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 21 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v10 const-wide/16 v16, 0x3e8 div-long v10, v10, v16 invoke-static {v10, v11}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v10 const-string v11, "http://api.kunyu77.com/api.php/provide/videoPlaylist" .line 22 new-instance v12, Ljava/lang/StringBuilder; invoke-direct {v12}, Ljava/lang/StringBuilder;->()V invoke-virtual {v12, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const/4 v8, 0x0 invoke-interface {v1, v8}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v11 check-cast v11, Ljava/lang/String; invoke-virtual {v12, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v7 .line 23 new-instance v8, Ljava/lang/StringBuilder; invoke-direct {v8}, Ljava/lang/StringBuilder;->()V const-string v11, "/api.php/provide/videoPlaylistrealme4ac3fe96a6133de96904b8d3c8cfe16d" invoke-virtual {v8, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const/4 v11, 0x0 invoke-interface {v1, v11}, Ljava/util/List;->get(I)Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/lang/String; invoke-virtual {v8, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 .line 24 invoke-direct {v0, v1, v10}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v1 invoke-static {v7, v1}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v1 .line 25 new-instance v4, Lorg/json/JSONObject; invoke-direct {v4, v1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V invoke-virtual {v4, v3}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v1 const-string v3, "episodes" invoke-virtual {v1, v3}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v1 .line 26 new-instance v3, Ljava/util/LinkedHashMap; invoke-direct {v3}, Ljava/util/LinkedHashMap;->()V const/4 v8, 0x0 .line 27 :goto_16f invoke-virtual {v1}, Lorg/json/JSONArray;->length()I move-result v4 if-ge v8, v4, :cond_1e9 .line 28 invoke-virtual {v1, v8}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v4 const-string v5, "playurls" invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v4 const/4 v5, 0x0 .line 29 :goto_180 invoke-virtual {v4}, Lorg/json/JSONArray;->length()I move-result v6 if-ge v5, v6, :cond_1e5 .line 30 invoke-virtual {v4, v5}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v6 const-string v7, "playfrom" .line 31 invoke-virtual {v6, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v7 .line 32 invoke-virtual {v3, v7}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v10 check-cast v10, Ljava/util/ArrayList; if-nez v10, :cond_1a0 .line 33 new-instance v10, Ljava/util/ArrayList; invoke-direct {v10}, Ljava/util/ArrayList;->()V .line 34 invoke-virtual {v3, v7, v10}, Ljava/util/LinkedHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; :cond_1a0 const-string v7, "title" .line 35 invoke-virtual {v6, v7}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v7 invoke-virtual {v7, v15, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; move-result-object v7 invoke-virtual {v7}, Ljava/lang/String;->trim()Ljava/lang/String; move-result-object v7 .line 36 invoke-virtual {v7}, Ljava/lang/String;->isEmpty()Z move-result v12 if-eqz v12, :cond_1c5 .line 37 new-instance v7, Ljava/lang/StringBuilder; invoke-direct {v7}, Ljava/lang/StringBuilder;->()V add-int/lit8 v12, v8, 0x1 invoke-virtual {v7, v12}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v7, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v7 :cond_1c5 const-string v12, "playurl" .line 38 invoke-virtual {v6, v12}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v6 .line 39 new-instance v12, Ljava/lang/StringBuilder; invoke-direct {v12}, Ljava/lang/StringBuilder;->()V invoke-virtual {v12, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v7, "$" invoke-virtual {v12, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v12}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v6 invoke-virtual {v10, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z add-int/lit8 v5, v5, 0x1 goto :goto_180 :cond_1e5 add-int/lit8 v8, v8, 0x1 goto/16 :goto_16f .line 40 :cond_1e9 invoke-virtual {v3}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set; move-result-object v1 invoke-static {v2, v1}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String; move-result-object v1 .line 41 new-instance v4, Ljava/lang/StringBuilder; invoke-direct {v4}, Ljava/lang/StringBuilder;->()V .line 42 invoke-virtual {v3}, Ljava/util/LinkedHashMap;->values()Ljava/util/Collection; move-result-object v5 invoke-interface {v5}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; move-result-object v5 .line 43 invoke-virtual {v3}, Ljava/util/LinkedHashMap;->size()I move-result v3 int-to-short v3, v3 .line 44 :cond_203 :goto_203 invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z move-result v6 if-eqz v6, :cond_221 add-int/lit8 v3, v3, -0x1 int-to-short v3, v3 .line 45 invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v6 check-cast v6, Ljava/util/ArrayList; const-string v7, "#" .line 46 invoke-static {v7, v6}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String; move-result-object v6 invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; if-lez v3, :cond_203 .line 47 invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_203 :cond_221 const-string v2, "vod_play_from" .line 48 invoke-virtual {v14, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v1, "vod_play_url" .line 49 invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-virtual {v14, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 50 invoke-virtual {v13, v14}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; const-string v1, "list" move-object/from16 v2, v18 .line 51 invoke-virtual {v2, v1, v13}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 52 invoke-virtual {v2}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object v1 :try_end_23d .catchall {:try_start_14 .. :try_end_23d} :catchall_23e return-object v1 :catchall_23e return-object v9 .end method .method public homeContent(Z)Ljava/lang/String; .registers 28 move-object/from16 v1, p0 const-string v2, "2021" const-string v3, "2022" const-string v4, "data" const-string v5, "全部" const-string v6, "key" const-string v7, "" const-string v8, "name" const-string v9, "v" const-string v10, "n" .line 1 :try_start_14 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v11 const-wide/16 v13, 0x3e8 div-long/2addr v11, v13 invoke-static {v11, v12}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v0 const-string v11, "http://api.kunyu77.com/api.php/provide/filter" const-string v12, "/api.php/provide/filter" .line 2 invoke-direct {v1, v12, v0}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v0 invoke-static {v11, v0}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v0 .line 3 new-instance v11, Lorg/json/JSONObject; invoke-virtual {v1, v0}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 invoke-direct {v11, v0}, Lorg/json/JSONObject;->(Ljava/lang/String;)V invoke-virtual {v11, v4}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v11 .line 4 invoke-virtual {v11}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator; move-result-object v12 .line 5 new-instance v15, Lorg/json/JSONArray; invoke-direct {v15}, Lorg/json/JSONArray;->()V .line 6 new-instance v13, Lorg/json/JSONObject; invoke-direct {v13}, Lorg/json/JSONObject;->()V const/4 v0, 0x0 move-object v14, v0 .line 7 :goto_48 invoke-interface {v12}, Ljava/util/Iterator;->hasNext()Z move-result v0 if-eqz v0, :cond_251 .line 8 invoke-interface {v12}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; move-object/from16 v18, v12 .line 9 invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v12 move-object/from16 v19, v11 const/4 v11, 0x0 invoke-virtual {v12, v11}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v12 const-string v11, "cat" invoke-virtual {v12, v11}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v11 .line 10 new-instance v12, Lorg/json/JSONObject; invoke-direct {v12}, Lorg/json/JSONObject;->()V move-object/from16 v20, v13 const-string v13, "type_id" .line 11 invoke-virtual {v12, v13, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v13, "type_name" .line 12 invoke-virtual {v12, v13, v11}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 13 invoke-virtual {v15, v12}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; :try_end_7b .catchall {:try_start_14 .. :try_end_7b} :catchall_26c if-nez v14, :cond_220 .line 14 :try_start_7d invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v11 :try_end_81 .catch Ljava/lang/Exception; {:try_start_7d .. :try_end_81} :catch_212 .catchall {:try_start_7d .. :try_end_81} :catchall_26c const-wide/16 v16, 0x3e8 :try_start_83 div-long v11, v11, v16 invoke-static {v11, v12}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v11 const-string v12, "http://api.kunyu77.com/api.php/provide/searchFilter" const-string v13, "/api.php/provide/searchFilter" :try_end_8d .catch Ljava/lang/Exception; {:try_start_83 .. :try_end_8d} :catch_208 .catchall {:try_start_83 .. :try_end_8d} :catchall_26c move-object/from16 v21, v14 .line 15 :try_start_8f new-instance v14, Ljava/lang/StringBuilder; invoke-direct {v14}, Ljava/lang/StringBuilder;->()V invoke-virtual {v14, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v12, "?type_id=0&pagenum=1&pagesize=1" invoke-virtual {v14, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v14}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v12 .line 16 invoke-direct {v1, v13, v11}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v11 invoke-static {v12, v11}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v11 .line 17 new-instance v12, Lorg/json/JSONObject; invoke-direct {v12, v11}, Lorg/json/JSONObject;->(Ljava/lang/String;)V invoke-virtual {v12, v4}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v11 const-string v12, "conditions" invoke-virtual {v11, v12}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v11 .line 18 new-instance v12, Lorg/json/JSONArray; invoke-direct {v12}, Lorg/json/JSONArray;->()V :try_end_bc .catch Ljava/lang/Exception; {:try_start_8f .. :try_end_bc} :catch_1fa .catchall {:try_start_8f .. :try_end_bc} :catchall_26c .line 19 :try_start_bc new-instance v13, Lorg/json/JSONObject; invoke-direct {v13}, Lorg/json/JSONObject;->()V const-string v14, "year" .line 20 invoke-virtual {v13, v6, v14}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v14, "年份" .line 21 invoke-virtual {v13, v8, v14}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 22 new-instance v14, Lorg/json/JSONArray; invoke-direct {v14}, Lorg/json/JSONArray;->()V .line 23 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V .line 24 invoke-virtual {v1, v10, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 25 invoke-virtual {v1, v9, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 26 invoke-virtual {v14, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; .line 27 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V .line 28 invoke-virtual {v1, v10, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 29 invoke-virtual {v1, v9, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 30 invoke-virtual {v14, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; .line 31 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V .line 32 invoke-virtual {v1, v10, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 33 invoke-virtual {v1, v9, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 34 invoke-virtual {v14, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; const-string v1, "y" .line 35 invoke-virtual {v11, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v1 :try_end_100 .catch Ljava/lang/Exception; {:try_start_bc .. :try_end_100} :catch_1ef .catchall {:try_start_bc .. :try_end_100} :catchall_26c move-object/from16 v22, v2 move-object/from16 v23, v3 const/4 v2, 0x0 .line 36 :goto_105 :try_start_105 invoke-virtual {v1}, Lorg/json/JSONArray;->length()I move-result v3 :try_end_109 .catch Ljava/lang/Exception; {:try_start_105 .. :try_end_109} :catch_1ed .catchall {:try_start_105 .. :try_end_109} :catchall_26c move-object/from16 v24, v4 const-string v4, "value" if-ge v2, v3, :cond_139 .line 37 :try_start_10f invoke-virtual {v1, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v3 move-object/from16 v21, v1 .line 38 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V :try_end_11a .catch Ljava/lang/Exception; {:try_start_10f .. :try_end_11a} :catch_136 .catchall {:try_start_10f .. :try_end_11a} :catchall_26c move-object/from16 v25, v15 .line 39 :try_start_11c invoke-virtual {v3, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v15 invoke-virtual {v1, v10, v15}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 40 invoke-virtual {v3, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v3 invoke-virtual {v1, v9, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 41 invoke-virtual {v14, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; add-int/lit8 v2, v2, 0x1 move-object/from16 v1, v21 move-object/from16 v4, v24 move-object/from16 v15, v25 goto :goto_105 :catch_136 move-exception v0 goto/16 :goto_1f6 :cond_139 move-object/from16 v25, v15 .line 42 invoke-virtual {v13, v4, v14}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 43 invoke-virtual {v12, v13}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; .line 44 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V const-string v2, "area" .line 45 invoke-virtual {v1, v6, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v2, "地区" .line 46 invoke-virtual {v1, v8, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 47 new-instance v2, Lorg/json/JSONArray; invoke-direct {v2}, Lorg/json/JSONArray;->()V .line 48 new-instance v3, Lorg/json/JSONObject; invoke-direct {v3}, Lorg/json/JSONObject;->()V .line 49 invoke-virtual {v3, v10, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 50 invoke-virtual {v3, v9, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 51 invoke-virtual {v2, v3}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; const-string v3, "a" .line 52 invoke-virtual {v11, v3}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v3 const/4 v13, 0x0 .line 53 :goto_16a invoke-virtual {v3}, Lorg/json/JSONArray;->length()I move-result v14 if-ge v13, v14, :cond_191 .line 54 invoke-virtual {v3, v13}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v14 .line 55 new-instance v15, Lorg/json/JSONObject; invoke-direct {v15}, Lorg/json/JSONObject;->()V move-object/from16 v21, v3 .line 56 invoke-virtual {v14, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v3 invoke-virtual {v15, v10, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 57 invoke-virtual {v14, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v3 invoke-virtual {v15, v9, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 58 invoke-virtual {v2, v15}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; add-int/lit8 v13, v13, 0x1 move-object/from16 v3, v21 goto :goto_16a .line 59 :cond_191 invoke-virtual {v1, v4, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 60 invoke-virtual {v12, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; .line 61 new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V const-string v2, "category" .line 62 invoke-virtual {v1, v6, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v2, "类型" .line 63 invoke-virtual {v1, v8, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 64 new-instance v2, Lorg/json/JSONArray; invoke-direct {v2}, Lorg/json/JSONArray;->()V .line 65 new-instance v3, Lorg/json/JSONObject; invoke-direct {v3}, Lorg/json/JSONObject;->()V .line 66 invoke-virtual {v3, v10, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 67 invoke-virtual {v3, v9, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 68 invoke-virtual {v2, v3}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; const-string v3, "scat" .line 69 invoke-virtual {v11, v3}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v3 const/4 v11, 0x0 .line 70 :goto_1c0 invoke-virtual {v3}, Lorg/json/JSONArray;->length()I move-result v13 if-ge v11, v13, :cond_1e3 .line 71 invoke-virtual {v3, v11}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v13 .line 72 new-instance v14, Lorg/json/JSONObject; invoke-direct {v14}, Lorg/json/JSONObject;->()V .line 73 invoke-virtual {v13, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v15 invoke-virtual {v14, v10, v15}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 74 invoke-virtual {v13, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v13 invoke-virtual {v14, v9, v13}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 75 invoke-virtual {v2, v14}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; add-int/lit8 v11, v11, 0x1 goto :goto_1c0 .line 76 :cond_1e3 invoke-virtual {v1, v4, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 77 invoke-virtual {v12, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; :try_end_1e9 .catch Ljava/lang/Exception; {:try_start_11c .. :try_end_1e9} :catch_1eb .catchall {:try_start_11c .. :try_end_1e9} :catchall_26c move-object v14, v12 goto :goto_22a :catch_1eb move-exception v0 goto :goto_1f8 :catch_1ed move-exception v0 goto :goto_1f4 :catch_1ef move-exception v0 move-object/from16 v22, v2 move-object/from16 v23, v3 :goto_1f4 move-object/from16 v24, v4 :goto_1f6 move-object/from16 v25, v15 :goto_1f8 move-object v14, v12 goto :goto_21d :catch_1fa move-exception v0 move-object/from16 v22, v2 move-object/from16 v23, v3 move-object/from16 v24, v4 move-object/from16 v25, v15 move-object/from16 v1, v20 move-object/from16 v14, v21 goto :goto_23d :catch_208 move-exception v0 move-object/from16 v22, v2 move-object/from16 v23, v3 move-object/from16 v24, v4 move-object/from16 v25, v15 goto :goto_21d :catch_212 move-exception v0 move-object/from16 v22, v2 move-object/from16 v23, v3 move-object/from16 v24, v4 move-object/from16 v25, v15 const-wide/16 v16, 0x3e8 :goto_21d move-object/from16 v1, v20 goto :goto_23d :cond_220 move-object/from16 v22, v2 move-object/from16 v23, v3 move-object/from16 v24, v4 move-object/from16 v25, v15 const-wide/16 v16, 0x3e8 .line 78 :goto_22a :try_start_22a invoke-virtual {v14}, Lorg/json/JSONArray;->length()I move-result v1 :try_end_22e .catch Ljava/lang/Exception; {:try_start_22a .. :try_end_22e} :catch_23b .catchall {:try_start_22a .. :try_end_22e} :catchall_26c if-lez v1, :cond_238 move-object/from16 v1, v20 .line 79 :try_start_232 invoke-virtual {v1, v0, v14}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; :try_end_235 .catch Ljava/lang/Exception; {:try_start_232 .. :try_end_235} :catch_236 .catchall {:try_start_232 .. :try_end_235} :catchall_26c goto :goto_240 :catch_236 move-exception v0 goto :goto_23d :cond_238 move-object/from16 v1, v20 goto :goto_240 :catch_23b move-exception v0 goto :goto_21d .line 80 :goto_23d :try_start_23d invoke-static {v0}, Lcom/github/catvod/crawler/SpiderDebug;->log(Ljava/lang/Throwable;)V :goto_240 move-object v13, v1 move-object/from16 v12, v18 move-object/from16 v11, v19 move-object/from16 v2, v22 move-object/from16 v3, v23 move-object/from16 v4, v24 move-object/from16 v15, v25 move-object/from16 v1, p0 goto/16 :goto_48 :cond_251 move-object v1, v13 move-object/from16 v25, v15 .line 81 new-instance v0, Lorg/json/JSONObject; invoke-direct {v0}, Lorg/json/JSONObject;->()V const-string v2, "class" move-object/from16 v3, v25 .line 82 invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; if-eqz p1, :cond_267 const-string v2, "filters" .line 83 invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 84 :cond_267 invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object v0 :try_end_26b .catchall {:try_start_23d .. :try_end_26b} :catchall_26c return-object v0 :catchall_26c return-object v7 .end method .method public homeVideoContent()Ljava/lang/String; .registers 11 .line 1 :try_start_0 new-instance v0, Lorg/json/JSONArray; invoke-direct {v0}, Lorg/json/JSONArray;->()V :try_end_5 .catchall {:try_start_0 .. :try_end_5} :catchall_d9 .line 2 :try_start_5 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v1 const-wide/16 v3, 0x3e8 div-long/2addr v1, v3 invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v1 const-string v2, "http://api.kunyu77.com/api.php/provide/homeBlock" .line 3 new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v2, "?type_id=0&pcode=010110002&version=2.0.4&devid=4ac3fe96a6133de96904b8d3c8cfe16d&package=com.sevenVideo.app.android&sys=android&sysver=7.1.2&brand=realme&model=RMX1931&sj=" invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 .line 4 new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V const-string v4, "/api.php/provide/homeBlockrealme4ac3fe96a6133de96904b8d3c8cfe16dRMX1931com.sevenVideo.app.android010110002" invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v4, "android7.1.22.0.4" invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v4, "XSpeUFjJ" invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v3 .line 5 invoke-direct {p0, v3, v1}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v1 invoke-static {v2, v1}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v1 .line 6 new-instance v2, Lorg/json/JSONObject; invoke-virtual {p0, v1}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object v1 invoke-direct {v2, v1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V const-string v1, "data" .line 7 invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v1 const-string v2, "blocks" invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v1 const/4 v3, 0x0 .line 8 :goto_62 invoke-virtual {v1}, Lorg/json/JSONArray;->length()I move-result v4 if-ge v3, v4, :cond_ca .line 9 invoke-virtual {v1, v3}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v4 const-string v5, "block_name" .line 10 invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 const-string v6, "热播" .line 11 invoke-virtual {v5, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z move-result v5 if-nez v5, :cond_7b goto :goto_c6 :cond_7b const-string v5, "contents" .line 12 invoke-virtual {v4, v5}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object v4 const/4 v5, 0x0 .line 13 :goto_82 invoke-virtual {v4}, Lorg/json/JSONArray;->length()I move-result v6 if-ge v5, v6, :cond_c6 const/4 v6, 0x3 if-ge v5, v6, :cond_c6 .line 14 invoke-virtual {v4, v5}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v6 .line 15 new-instance v7, Lorg/json/JSONObject; invoke-direct {v7}, Lorg/json/JSONObject;->()V const-string v8, "vod_id" const-string v9, "id" .line 16 invoke-virtual {v6, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v9 invoke-virtual {v7, v8, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v8, "vod_name" const-string v9, "title" .line 17 invoke-virtual {v6, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v9 invoke-virtual {v7, v8, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v8, "vod_pic" const-string v9, "videoCover" .line 18 invoke-virtual {v6, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v9 invoke-virtual {v7, v8, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v8, "vod_remarks" const-string v9, "msg" .line 19 invoke-virtual {v6, v9}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v6 invoke-virtual {v7, v8, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 20 invoke-virtual {v0, v7}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; :try_end_c3 .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_c3} :catch_ca .catchall {:try_start_5 .. :try_end_c3} :catchall_d9 add-int/lit8 v5, v5, 0x1 goto :goto_82 :cond_c6 :goto_c6 add-int/lit8 v3, v3, 0x1 goto/16 :goto_62 .line 21 :catch_ca :cond_ca :try_start_ca new-instance v1, Lorg/json/JSONObject; invoke-direct {v1}, Lorg/json/JSONObject;->()V const-string v2, "list" .line 22 invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 23 invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object v0 :try_end_d8 .catchall {:try_start_ca .. :try_end_d8} :catchall_d9 return-object v0 :catchall_d9 const-string v0, "" return-object v0 .end method .method public playerContent(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Ljava/lang/String; .registers 15 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/String;", "Ljava/lang/String;", "Ljava/util/List<", "Ljava/lang/String;", ">;)", "Ljava/lang/String;" } .end annotation const-string p1, "header" const-string p3, "playUrl" const-string v0, "url" const-string v1, "parse" const-string v2, "" const/4 v3, 0x0 .line 1 :try_start_b invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v4 const-wide/16 v6, 0x3e8 div-long/2addr v4, v6 invoke-static {v4, v5}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object v4 const-string v5, "http://api.kunyu77.com/api.php/provide/parserUrl" .line 2 new-instance v6, Ljava/lang/StringBuilder; invoke-direct {v6}, Ljava/lang/StringBuilder;->()V invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v5, "?url=" invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v5, "&retryNum=0&pcode=010110002&version=2.0.4&devid=4ac3fe96a6133de96904b8d3c8cfe16d&package=com.sevenVideo.app.android&sys=android&sysver=7.1.2&brand=realme&model=RMX1931&sj=" invoke-virtual {v6, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v5 .line 3 new-instance v6, Ljava/lang/StringBuilder; invoke-direct {v6}, Ljava/lang/StringBuilder;->()V const-string v7, "/api.php/provide/parserUrlrealme4ac3fe96a6133de96904b8d3c8cfe16dRMX1931com.sevenVideo.app.android010110002" invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v7, "android7.1.2" invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v7, "2.0.4" invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v7, "XSpeUFjJ" invoke-virtual {v6, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v6}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v6 .line 4 invoke-direct {p0, v6, v4}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v4 invoke-static {v5, v4}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v4 .line 5 new-instance v5, Lorg/json/JSONObject; invoke-virtual {p0, v4}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object v4 invoke-direct {v5, v4}, Lorg/json/JSONObject;->(Ljava/lang/String;)V const-string v4, "data" invoke-virtual {v5, v4}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v4 const-string v5, "playHeader" .line 6 invoke-virtual {v4, v5}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v5 .line 7 invoke-virtual {v4, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v4 .line 8 invoke-direct {p0, v4, v2}, Lcom/github/catvod/spider/Kunyu77;->Q(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object v6 invoke-static {v4, v6}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object v6 .line 9 invoke-static {v4, v6}, Lcom/github/catvod/spider/merge/ay;->L(Ljava/lang/String;Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v4 if-eqz v4, :cond_ca .line 10 invoke-virtual {v4, v1, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; .line 11 invoke-virtual {v4, p3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; if-eqz v5, :cond_c5 .line 12 invoke-virtual {v4, p1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; move-result-object v6 .line 13 invoke-virtual {v5}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator; move-result-object v7 .line 14 :goto_99 invoke-interface {v7}, Ljava/util/Iterator;->hasNext()Z move-result v8 if-eqz v8, :cond_be .line 15 invoke-interface {v7}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v8 check-cast v8, Ljava/lang/String; .line 16 new-instance v9, Ljava/lang/StringBuilder; invoke-direct {v9}, Ljava/lang/StringBuilder;->()V const-string v10, " " invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v5, v8}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v10 invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v9 invoke-virtual {v6, v8, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; goto :goto_99 .line 17 :cond_be invoke-virtual {v6}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object v5 invoke-virtual {v4, p1, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 18 :cond_c5 invoke-virtual {v4}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object p1 :try_end_c9 .catchall {:try_start_b .. :try_end_c9} :catchall_ca return-object p1 .line 19 :catchall_ca :cond_ca :try_start_ca invoke-static {p2}, Lcom/github/catvod/spider/merge/ay;->bq(Ljava/lang/String;)Z move-result p1 if-eqz p1, :cond_e8 .line 20 new-instance p1, Lorg/json/JSONObject; invoke-direct {p1}, Lorg/json/JSONObject;->()V const/4 p3, 0x1 .line 21 invoke-virtual {p1, v1, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; const-string p3, "jx" const-string v1, "1" .line 22 invoke-virtual {p1, p3, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 23 invoke-virtual {p1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 24 invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object p1 return-object p1 .line 25 :cond_e8 new-instance p1, Lorg/json/JSONObject; invoke-direct {p1}, Lorg/json/JSONObject;->()V .line 26 invoke-virtual {p1, v1, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject; .line 27 invoke-virtual {p1, p3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 28 invoke-virtual {p1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 29 invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object p1 :try_end_fa .catchall {:try_start_ca .. :try_end_fa} :catchall_fb return-object p1 :catchall_fb return-object v2 .end method .method public searchContent(Ljava/lang/String;Z)Ljava/lang/String; .registers 10 .line 1 :try_start_0 invoke-static {}, Ljava/lang/System;->currentTimeMillis()J move-result-wide v0 const-wide/16 v2, 0x3e8 div-long/2addr v0, v2 invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String; move-result-object p2 const-string v0, "http://api.kunyu77.com/api.php/provide/searchVideo" .line 2 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, "?pcode=010110002&version=2.0.4&devid=4ac3fe96a6133de96904b8d3c8cfe16d&package=com.sevenVideo.app.android&sys=android&sysver=7.1.2&brand=realme&model=RMX1931&sj=" invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, "&searchName=" invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, "&pg=1" invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 .line 3 new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V const-string v2, "/api.php/provide/searchVideorealme4ac3fe96a6133de96904b8d3c8cfe16dRMX1931com.sevenVideo.app.android0101100021" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v2, "android7.1.202.0.4" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v2, "XSpeUFjJ" invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 .line 4 invoke-direct {p0, v1, p2}, Lcom/github/catvod/spider/Kunyu77;->r(Ljava/lang/String;Ljava/lang/String;)Ljava/util/HashMap; move-result-object p2 invoke-static {v0, p2}, Lcom/github/catvod/spider/merge/Vf;->h(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String; move-result-object p2 .line 5 new-instance v0, Lorg/json/JSONObject; invoke-virtual {p0, p2}, Lcom/github/catvod/spider/Kunyu77;->c(Ljava/lang/String;)Ljava/lang/String; move-result-object p2 invoke-direct {v0, p2}, Lorg/json/JSONObject;->(Ljava/lang/String;)V const-string p2, "data" .line 6 invoke-virtual {v0, p2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; move-result-object p2 .line 7 new-instance v0, Lorg/json/JSONArray; invoke-direct {v0}, Lorg/json/JSONArray;->()V const/4 v1, 0x0 .line 8 :goto_6c invoke-virtual {p2}, Lorg/json/JSONArray;->length()I move-result v2 if-ge v1, v2, :cond_b4 .line 9 invoke-virtual {p2, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; move-result-object v2 .line 10 new-instance v3, Lorg/json/JSONObject; invoke-direct {v3}, Lorg/json/JSONObject;->()V const-string v4, "videoName" .line 11 invoke-virtual {v2, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v4 .line 12 invoke-virtual {v4, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z move-result v5 if-nez v5, :cond_88 goto :goto_b1 :cond_88 const-string v5, "vod_id" const-string v6, "id" .line 13 invoke-virtual {v2, v6}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v6 invoke-virtual {v3, v5, v6}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v5, "vod_name" .line 14 invoke-virtual {v3, v5, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v4, "vod_pic" const-string v5, "videoCover" .line 15 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v5 invoke-virtual {v3, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; const-string v4, "vod_remarks" const-string v5, "msg" .line 16 invoke-virtual {v2, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 invoke-virtual {v3, v4, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 17 invoke-virtual {v0, v3}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; :goto_b1 add-int/lit8 v1, v1, 0x1 goto :goto_6c .line 18 :cond_b4 new-instance p1, Lorg/json/JSONObject; invoke-direct {p1}, Lorg/json/JSONObject;->()V const-string p2, "list" .line 19 invoke-virtual {p1, p2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; .line 20 invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String; move-result-object p1 :try_end_c2 .catchall {:try_start_0 .. :try_end_c2} :catchall_c3 return-object p1 :catchall_c3 const-string p1, "" return-object p1 .end method