Changeset 41376
- Timestamp:
- 12/09/17 14:02:28 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/kinox.h
r40947 r41376 58 58 debug(99, "search: %s", search); 59 59 60 ip = ostrcat("kinox. me", NULL, 0, 0);60 ip = ostrcat("kinox.sx", NULL, 0, 0); 61 61 if(flag == 0) 62 62 path = ostrcat("Search.html?q=", search, 0, 0); 63 63 else 64 path = string_replace_all("http://kinox. me/", "", search, 0);64 path = string_replace_all("http://kinox.sx/", "", search, 0); 65 65 66 66 tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0); … … 100 100 lang = ostrcat(lang, " (\?\?)", 1, 0); 101 101 102 tmpstr1 = gethttp("kinox. me", path, 80, NULL, NULL, 10000, NULL, 0);102 tmpstr1 = gethttp("kinox.sx", path, 80, NULL, NULL, 10000, NULL, 0); 103 103 104 104 from = ostrcat("<div class=\"Grahpics\"><a href=\"", path, 0, 0); … … 116 116 title = ostrcat(title , lang, 1, 0); 117 117 118 url = ostrcat("http://kinox. me", path, 0, 0);118 url = ostrcat("http://kinox.sx", path, 0, 0); 119 119 120 120 debug(99, "---------------------------"); … … 131 131 line = ostrcat(line, "#", 1, 0); 132 132 line = ostrcat(line, url, 1, 0); 133 line = ostrcat(line, "#http://kinox. me/", 1, 0);133 line = ostrcat(line, "#http://kinox.sx/", 1, 0); 134 134 line = ostrcat(line, pic, 1, 0); 135 135 line = ostrcat(line, "#kinox_search_", 1, 0); … … 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("kinox. me/aGET/Mirror/", hlink, 0, 0);376 pathnewtmp = ostrcat("kinox.sx/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("kinox. me/aGET/Mirror/", hlink, 0, 0);384 pathnewtmp = ostrcat("kinox.sx/aGET/Mirror/", hlink, 0, 0); 385 385 pathnew = ostrcat(pathnewtmp, oitoa(j), 0, 1); 386 386 } … … 397 397 398 398 399 // tmpstr1 = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);399 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 400 400 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 401 401 … … 403 403 { 404 404 sleep(1); 405 // tmpstr1 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);405 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 406 406 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 407 407 } … … 409 409 { 410 410 sleep(1); 411 // tmpstr1 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);411 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 412 412 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 413 413 } … … 415 415 { 416 416 sleep(1); 417 // tmpstr1 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);417 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 418 418 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 419 419 } … … 421 421 { 422 422 sleep(1); 423 // tmpstr1 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);423 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 424 424 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 425 425 } … … 443 443 titheklog(debuglevel, "/tmp/kinox6_pathnew2", hname, NULL, NULL, pathnew); 444 444 445 tmpstr3 = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);445 tmpstr3 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 446 446 if(ostrstr(tmpstr3, "503 Service Temporarily Unavailable") != NULL) 447 447 { 448 448 sleep(1); 449 tmpstr3 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);449 tmpstr3 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 450 450 } 451 451 free(pathnew), pathnew = NULL; … … 466 466 titheklog(debuglevel, "/tmp/kinox6_pathnew3", hname, NULL, NULL, pathnew); 467 467 468 tmpstr4 = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);468 tmpstr4 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 469 469 if(ostrstr(tmpstr4, "503 Service Temporarily Unavailable") != NULL) 470 470 { 471 471 sleep(1); 472 tmpstr4 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);472 tmpstr4 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 473 473 } 474 474 free(pathnew), pathnew = NULL; … … 489 489 titheklog(debuglevel, "/tmp/kinox6_pathnew4", hname, NULL, NULL, pathnew); 490 490 491 tmpstr5 = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);491 tmpstr5 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 492 492 if(ostrstr(tmpstr5, "503 Service Temporarily Unavailable") != NULL) 493 493 { 494 494 sleep(1); 495 tmpstr5 = gethttp("kinox. to", pathnew, 80, NULL, NULL, 10000, NULL, 0);495 tmpstr5 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 496 496 } 497 497 free(pathnew), pathnew = NULL; … … 742 742 743 743 searchname = ostrcat(searchname, ret0[0].part, 1, 0); 744 searchname = string_replace("http://kinox. me//Stream/", "", searchname, 0);745 searchname = string_replace("http://kinox. me/Stream/", "", searchname, 0);744 searchname = string_replace("http://kinox.sx//Stream/", "", searchname, 0); 745 searchname = string_replace("http://kinox.sx/Stream/", "", searchname, 0); 746 746 searchname = string_replace(".html", "", searchname, 0); 747 747 debug(99, "searchname: %s", searchname); … … 778 778 779 779 free(tmpstr), tmpstr = NULL; 780 tmpstr = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);780 tmpstr = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 781 781 free(pathnew), pathnew = NULL; 782 782 … … 833 833 hlink = string_replace_all("amp;Hoster", "Hoster", hlink, 1); 834 834 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 835 pathnewtmp = ostrcat("kinox. me/aGET/Mirror/", hlink, 0, 0);835 pathnewtmp = ostrcat("kinox.sx/aGET/Mirror/", hlink, 0, 0); 836 836 pathnew = ostrcat(pathnewtmp, NULL, 0, 0); 837 837 } … … 841 841 hlink = ostrcat(hlink, "Mirror=", 0, 0); 842 842 hname = string_resub("<div class=\"Named\">", "</div>", ret1[i].part, 0); 843 pathnewtmp = ostrcat("kinox. me/aGET/Mirror/", hlink, 0, 0);843 pathnewtmp = ostrcat("kinox.sx/aGET/Mirror/", hlink, 0, 0); 844 844 pathnew = ostrcat(pathnewtmp, oitoa(j), 0, 1); 845 845 } … … 868 868 extra = string_resub("<b>Vom</b>: ", "</div>", ret1[i].part, 0); 869 869 870 hlink = string_replace("http://kinox. me//Stream/", "", hlink, 1);871 hlink = string_replace("http://kinox. me/Stream/", "", hlink, 1);870 hlink = string_replace("http://kinox.sx//Stream/", "", hlink, 1); 871 hlink = string_replace("http://kinox.sx/Stream/", "", hlink, 1); 872 872 873 873 // debug(99, "pathnew: %s", pathnew); 874 // tmpstr1 = gethttp("kinox. me", pathnew, 80, NULL, NULL, 10000, NULL, 0);874 // tmpstr1 = gethttp("kinox.sx", pathnew, 80, NULL, NULL, 10000, NULL, 0); 875 875 tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 876 876 // debug(99, "tmpstr1 1: %s", tmpstr1); … … 887 887 { 888 888 free(pathnew), pathnew = NULL; 889 pathnew = ostrcat("kinox. me/aGET/Mirror/", hlink, 0, 0);889 pathnew = ostrcat("kinox.sx/aGET/Mirror/", hlink, 0, 0); 890 890 // debug(99, "iframe2.1 pathnew: %s", pathnew); 891 891 free(tmpstr1), tmpstr1 = NULL; … … 1057 1057 incount++; 1058 1058 line = ostrcat(line, name, 1, 0); 1059 line = ostrcat(line, "#http://kinox. me/People/", 1, 0);1059 line = ostrcat(line, "#http://kinox.sx/People/", 1, 0); 1060 1060 line = ostrcat(line, url, 1, 0); 1061 1061 line = ostrcat(line, "#", 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.