Changeset 40906
- Timestamp:
- 09/04/17 09:16:45 (6 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/kinox.h
r40893 r40906 374 374 hlink = string_replace_all("amp;Hoster", "Hoster", hlink, 1); 375 375 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 376 pathnewtmp = ostrcat(" /aGET/Mirror/", hlink, 0, 0);376 pathnewtmp = ostrcat("kinox.me/aGET/Mirror/", hlink, 0, 0); 377 377 pathnew = ostrcat(pathnewtmp, NULL, 0, 0); 378 378 } … … 382 382 hlink = ostrcat(hlink, "Mirror=", 0, 0); 383 383 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 384 pathnewtmp = ostrcat(" /aGET/Mirror/", hlink, 0, 0);384 pathnewtmp = ostrcat("kinox.me/aGET/Mirror/", hlink, 0, 0); 385 385 pathnew = ostrcat(pathnewtmp, oitoa(j), 0, 1); 386 386 } … … 396 396 titheklog(debuglevel, "/tmp/kinox4_pathnew1", hname, NULL, NULL, pathnew); 397 397 398 tmpstr1 = gethttp("kinox.me", pathnew, 80, NULL, NULL, 10000, NULL, 0); 398 399 // tmpstr1 = gethttp("kinox.me", pathnew, 80, NULL, NULL, 10000, NULL, 0); 400 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 401 399 402 if(ostrstr(tmpstr1, "503 Service Temporarily Unavailable") != NULL) 400 403 { 401 404 sleep(1); 402 tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 405 // tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 406 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 403 407 } 404 408 if(ostrstr(tmpstr1, "503 Service Temporarily Unavailable") != NULL) 405 409 { 406 410 sleep(1); 407 tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 411 // tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 412 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 408 413 } 409 414 if(ostrstr(tmpstr1, "503 Service Temporarily Unavailable") != NULL) 410 415 { 411 416 sleep(1); 412 tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 417 // tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 418 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 413 419 } 414 420 if(ostrstr(tmpstr1, "503 Service Temporarily Unavailable") != NULL) 415 421 { 416 422 sleep(1); 417 tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 423 // tmpstr1 = gethttp("kinox.to", pathnew, 80, NULL, NULL, 10000, NULL, 0); 424 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 418 425 } 419 426 free(pathnew), pathnew = NULL; … … 826 833 hlink = string_replace_all("amp;Hoster", "Hoster", hlink, 1); 827 834 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 828 pathnewtmp = ostrcat(" /aGET/Mirror/", hlink, 0, 0);835 pathnewtmp = ostrcat("kinox.me/aGET/Mirror/", hlink, 0, 0); 829 836 pathnew = ostrcat(pathnewtmp, NULL, 0, 0); 830 837 } … … 834 841 hlink = ostrcat(hlink, "Mirror=", 0, 0); 835 842 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 836 pathnewtmp = ostrcat(" /aGET/Mirror/", hlink, 0, 0);843 pathnewtmp = ostrcat("kinox.me/aGET/Mirror/", hlink, 0, 0); 837 844 pathnew = ostrcat(pathnewtmp, oitoa(j), 0, 1); 838 845 } … … 865 872 866 873 // debug(99, "pathnew: %s", pathnew); 867 tmpstr1 = gethttp("kinox.me", pathnew, 80, NULL, NULL, 10000, NULL, 0); 874 // tmpstr1 = gethttp("kinox.me", pathnew, 80, NULL, NULL, 10000, NULL, 0); 875 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 868 876 // debug(99, "tmpstr1 1: %s", tmpstr1); 869 877 -
titan/plugins/tithek/tithek_global.h
r40900 r40906 7 7 { 8 8 debug(99, "url: %s", url); 9 char* streamurl = NULL, *tmplink = NULL ;9 char* streamurl = NULL, *tmplink = NULL, *tmpstr = NULL; 10 10 struct skin* load = getscreen("loading"); 11 11 … … 14 14 else 15 15 tmplink = ostrcat(url, NULL, 0, 0); 16 17 tmpstr = ostrcat(tmplink, NULL, 0, 0); 16 18 string_tolower(tmplink); 17 19 18 20 char* cmd = NULL; 19 cmd = ostrcat("/tmp/localhoster/hoster.sh get \"", tmp link, 0, 0);21 cmd = ostrcat("/tmp/localhoster/hoster.sh get \"", tmpstr, 0, 0); 20 22 cmd = ostrcat(cmd, "\"", 1, 0); 21 23 streamurl = command(cmd); … … 30 32 if(ostrstr(tmplink, "streamcloud") != NULL) 31 33 { 32 streamurl = streamcloud(tmp link);34 streamurl = streamcloud(tmpstr); 33 35 skip = 1; 34 36 } … … 119 121 drawscreen(load, 0, 0); 120 122 121 cmd = ostrcat("/tmp/localhoster/hoster.sh youtube_dl \"", tmp link, 0, 0);123 cmd = ostrcat("/tmp/localhoster/hoster.sh youtube_dl \"", tmpstr, 0, 0); 122 124 cmd = ostrcat(cmd, "\"", 1, 0); 123 125 streamurl = command(cmd); … … 133 135 { 134 136 if(ostrstr(tmplink, "sockshare") != NULL) 135 streamurl = putlocker(tmp link);137 streamurl = putlocker(tmpstr); 136 138 else if(ostrstr(tmplink, "putlocker") != NULL) 137 streamurl = firedrive(tmp link);139 streamurl = firedrive(tmpstr); 138 140 else if(ostrstr(tmplink, "filenuke") != NULL) 139 streamurl = filenuke(tmp link);141 streamurl = filenuke(tmpstr); 140 142 else if(ostrstr(tmplink, "streamcloud") != NULL) 141 streamurl = streamcloud(tmp link);143 streamurl = streamcloud(tmpstr); 142 144 else if(ostrstr(tmplink, "vidstream") != NULL) 143 streamurl = vidstream(tmp link);145 streamurl = vidstream(tmpstr); 144 146 else if(ostrstr(tmplink, "flashx_disable") != NULL) 145 streamurl = flashx(tmp link);147 streamurl = flashx(tmpstr); 146 148 else if(ostrstr(tmplink, "xvidstage") != NULL) 147 streamurl = xvidstage(tmp link);149 streamurl = xvidstage(tmpstr); 148 150 else if(ostrstr(tmplink, "nowvideo") != NULL) 149 streamurl = nowvideo(tmp link);151 streamurl = nowvideo(tmpstr); 150 152 else if(ostrstr(tmplink, "movshare") != NULL || ostrstr(tmplink, "wholecloud") != NULL) 151 streamurl = movshare(tmp link);153 streamurl = movshare(tmpstr); 152 154 else if(ostrstr(tmplink, "movreel") != NULL) 153 streamurl = movreel(tmp link);155 streamurl = movreel(tmpstr); 154 156 else if(ostrstr(tmplink, "novamov") != NULL || ostrstr(tmplink, "auroravid") != NULL) 155 streamurl = novamov(tmp link);157 streamurl = novamov(tmpstr); 156 158 else if(ostrstr(tmplink, "divxstage") != NULL || ostrstr(tmplink, "cloudtime") != NULL) 157 streamurl = divxstage(tmp link);159 streamurl = divxstage(tmpstr); 158 160 else if(ostrstr(tmplink, "primeshare") != NULL) 159 streamurl = primeshare(tmp link);161 streamurl = primeshare(tmpstr); 160 162 else if(ostrstr(tmplink, "faststream") != NULL || ostrstr(tmplink, "fastvideo") != NULL) 161 streamurl = faststream(tmp link);163 streamurl = faststream(tmpstr); 162 164 else if(ostrstr(tmplink, "played") != NULL) 163 streamurl = played(tmp link);165 streamurl = played(tmpstr); 164 166 else if(ostrstr(tmplink, "videoweed") != NULL) 165 streamurl = videoweed(tmp link);167 streamurl = videoweed(tmpstr); 166 168 else if(ostrstr(tmplink, "firedrive") != NULL) 167 streamurl = firedrive(tmp link);169 streamurl = firedrive(tmpstr); 168 170 else if(ostrstr(tmplink, "shared") != NULL) 169 streamurl = shared(tmp link);171 streamurl = shared(tmpstr); 170 172 else if(ostrstr(tmplink, "thefile") != NULL) 171 streamurl = thefile(tmp link);173 streamurl = thefile(tmpstr); 172 174 else if(ostrstr(tmplink, "youtu_disable") != NULL) 173 streamurl = youtube(tmp link);175 streamurl = youtube(tmpstr); 174 176 else if(ostrstr(tmplink, "myvideo") != NULL) 175 streamurl = myvideo(tmp link);177 streamurl = myvideo(tmpstr); 176 178 else if(ostrstr(tmplink, "promptfile") != NULL) 177 streamurl = promptfile(tmp link);179 streamurl = promptfile(tmpstr); 178 180 else if(ostrstr(tmplink, "letwatch") != NULL || ostrstr(tmplink, "realvid") != NULL) 179 streamurl = letwatch(tmp link);181 streamurl = letwatch(tmpstr); 180 182 else if(ostrstr(tmplink, "vidbull") != NULL) 181 streamurl = vidbull(tmp link);183 streamurl = vidbull(tmpstr); 182 184 else if(ostrstr(tmplink, "vodlocker") != NULL) 183 streamurl = vodlocker(tmp link);185 streamurl = vodlocker(tmpstr); 184 186 else if(ostrstr(tmplink, "vidto") != NULL) 185 streamurl = vidto(tmp link);187 streamurl = vidto(tmpstr); 186 188 else if(ostrstr(tmplink, "amazon") != NULL) 187 streamurl = amazon(tmp link);189 streamurl = amazon(tmpstr); 188 190 else if(ostrstr(tmplink, "thevideo") != NULL) 189 streamurl = thevideo(tmp link);191 streamurl = thevideo(tmpstr); 190 192 else if(ostrstr(tmplink, "mightyupload") != NULL) 191 streamurl = mightyupload(tmp link);193 streamurl = mightyupload(tmpstr); 192 194 else if(ostrstr(tmplink, "cloudzilla") != NULL) 193 streamurl = cloudzilla(tmp link);195 streamurl = cloudzilla(tmpstr); 194 196 else if(ostrstr(tmplink, "vivo") != NULL) 195 streamurl = vivo(tmp link);197 streamurl = vivo(tmpstr); 196 198 else if(ostrstr(tmplink, "streamlive") != NULL) 197 streamurl = streamlive(tmp link, -1);199 streamurl = streamlive(tmpstr, -1); 198 200 else if(ostrstr(tmplink, "cricfree") != NULL) 199 streamurl = cricfree(tmp link, 0);201 streamurl = cricfree(tmpstr, 0); 200 202 else if(ostrstr(tmplink, "zerocast") != NULL) 201 streamurl = zerocast(tmp link, 0);203 streamurl = zerocast(tmpstr, 0); 202 204 else if(ostrstr(tmplink, "p2pcast") != NULL) 203 streamurl = p2pcast(tmp link);205 streamurl = p2pcast(tmpstr); 204 206 else if(ostrstr(tmplink, "vidzi") != NULL) 205 streamurl = vidzi(tmp link);207 streamurl = vidzi(tmpstr); 206 208 else if(ostrstr(tmplink, "vid.ag") != NULL) 207 streamurl = vidag(tmp link);209 streamurl = vidag(tmpstr); 208 210 debug(99, "Streamurl4: %s", streamurl); 209 211 }
Note: See TracChangeset
for help on using the changeset viewer.