Changeset 38266
- Timestamp:
- 08/21/16 20:39:49 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/thevideo.h
r38198 r38266 7 7 int debuglevel = getconfigint("debuglevel", NULL); 8 8 char* tmphost = NULL, *tmplink = NULL, *tmppath = NULL, *tmpstr = NULL, *streamlink = NULL, *pos = NULL, *path = NULL, *url = NULL; 9 char* vhash = NULL, *gfk = NULL, *fname = NULL, *hash = NULL, *post = NULL, *inhu = NULL, *op = NULL, *vt = NULL, *tmpstr1 = NULL ;9 char* vhash = NULL, *gfk = NULL, *fname = NULL, *hash = NULL, *post = NULL, *inhu = NULL, *op = NULL, *vt = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL; 10 10 11 11 if(link == NULL) return NULL; … … 115 115 116 116 tmpstr1 = string_resub("<div class=\"container main-container\">", "</div>", tmpstr, 0); 117 free(tmpstr), tmpstr = NULL; 117 118 debug(99, "tmpstr1: %s", tmpstr1); 118 free(tmpstr), tmpstr = NULL;119 url = string_resub("<script src=\"", "\"></script>", tmpstr1, 0); 119 120 120 url = string_resub("<script src=\"", "\"></script>", tmpstr1, 0); 121 if(url == NULL) 122 { 123 tmpstr2 = string_resub("' + '", "'.concat", tmpstr1, 0); 124 tmpstr3 = string_resub("var tksucks='", "';", tmpstr1, 0); 125 url = ostrcat("http://thevideo.me", tmpstr2, 0, 0); 126 url = ostrcat(url, "/", 1, 0); 127 url = ostrcat(url, tmpstr3, 1, 0); 128 free(tmpstr2), tmpstr2 = NULL; 129 free(tmpstr3), tmpstr3 = NULL; 130 } 121 131 free(tmpstr1), tmpstr1 = NULL; 122 132 123 133 /* 124 134 <script src="https://thevideo.me/jwjsv/sfqlqb288ft2"></script> 125 135 https://thevideo.me/jwjsv/sfqlqb288ft2 136 137 138 var tksucks='LDw2JVcsJyVSPEchUz4zMUcK';document.write('<script s'.concat( 'rc="' + '/jwv'.concat( '/'+tksucks+'">\x3C/script>' ) ) ) 139 http://thevideo.me/jwv/LDlHJFE+RihWPEMtUz5DKUM 126 140 */ 127 141
Note: See TracChangeset
for help on using the changeset viewer.