Changeset 41941
- Timestamp:
- 02/25/18 00:22:32 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/kinox.h
r41939 r41941 64 64 else 65 65 { 66 path = string_replace_all("kinox.to", "", search, 0); 67 path = string_replace_all(getconfig("tithek_kinox_url", NULL), "", search, 0); 68 path = string_replace_all("http:///", "", search, 0); 69 path = string_replace_all("https:///", "", search, 0); 66 path = ostrcat(search, NULL, 0, 0); 67 // path = string_replace_all("kinox.to", "", path, 0); 68 // path = string_replace_all(getconfig("tithek_kinox_url", NULL), "", path, 0); 69 // path = string_replace_all("http:///", "", path, 0); 70 // path = string_replace_all("https:///", "", path, 0); 70 71 } 71 72 // tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0); … … 74 75 // tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1); 75 76 // new start 76 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", newurl, 0, 0); 77 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0); 78 cmd = ostrcat(cmd, "'", 1, 0); 77 79 debug(99, "cmd: %s", cmd); 78 80 tmpstr = command(cmd); … … 121 123 // tmpstr1 = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1); 122 124 // new start 123 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", newurl, 0, 0); 125 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0); 126 cmd = ostrcat(cmd, "'", 1, 0); 124 127 debug(99, "cmd: %s", cmd); 125 128 tmpstr1 = command(cmd); … … 289 292 // tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1); 290 293 // new start 291 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", link, 0, 0); 294 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", link, 0, 0); 295 cmd = ostrcat(cmd, "'", 1, 0); 292 296 debug(99, "cmd: %s", cmd); 293 297 tmpstr = command(cmd); … … 440 444 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 441 445 // new start 442 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 446 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 447 cmd = ostrcat(cmd, "'", 1, 0); 443 448 debug(99, "cmd: %s", cmd); 444 449 tmpstr1 = command(cmd); … … 451 456 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 452 457 // new start 453 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 458 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 459 cmd = ostrcat(cmd, "'", 1, 0); 454 460 debug(99, "cmd: %s", cmd); 455 461 tmpstr1 = command(cmd); … … 463 469 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 464 470 // new start 465 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 471 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 472 cmd = ostrcat(cmd, "'", 1, 0); 466 473 debug(99, "cmd: %s", cmd); 467 474 tmpstr1 = command(cmd); … … 475 482 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 476 483 // new start 477 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 484 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 485 cmd = ostrcat(cmd, "'", 1, 0); 478 486 debug(99, "cmd: %s", cmd); 479 487 tmpstr1 = command(cmd); … … 487 495 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 488 496 // new start 489 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 497 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 498 cmd = ostrcat(cmd, "'", 1, 0); 490 499 debug(99, "cmd: %s", cmd); 491 500 tmpstr1 = command(cmd); … … 845 854 // tmpstr = gethttps(link, NULL, NULL, NULL, NULL, NULL, 1); 846 855 // new start 847 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", link, 0, 0); 856 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", link, 0, 0); 857 cmd = ostrcat(cmd, "'", 1, 0); 848 858 debug(99, "cmd: %s", cmd); 849 859 tmpstr = command(cmd); … … 877 887 // tmpstr = gethttps(newurl, NULL, NULL, NULL, NULL, NULL, 1); 878 888 // new start 879 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", newurl, 0, 0); 889 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", newurl, 0, 0); 890 cmd = ostrcat(cmd, "'", 1, 0); 880 891 debug(99, "cmd: %s", cmd); 881 892 tmpstr = command(cmd); … … 986 997 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 987 998 // new start 988 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 999 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 1000 cmd = ostrcat(cmd, "'", 1, 0); 989 1001 debug(99, "cmd: %s", cmd); 990 1002 tmpstr1 = command(cmd); … … 1010 1022 // tmpstr1 = gethttps(pathnew, NULL, NULL, NULL, NULL, NULL, 1); 1011 1023 // new start 1012 cmd = ostrcat("/tmp/localhoster/hoster.sh get http://", pathnew, 0, 0); 1024 cmd = ostrcat("/tmp/localhoster/hoster.sh get 'http://", pathnew, 0, 0); 1025 cmd = ostrcat(cmd, "'", 1, 0); 1013 1026 debug(99, "cmd: %s", cmd); 1014 1027 tmpstr1 = command(cmd); … … 1181 1194 incount++; 1182 1195 line = ostrcat(line, name, 1, 0); 1183 line = ostrcat(line, "#http://", 1, 0);1184 line = ostrcat(line, getconfig("tithek_kinox_url", NULL), 1, 0);1185 line = ostrcat(line, " /People/", 1, 0);1196 // line = ostrcat(line, "#http://", 1, 0); 1197 // line = ostrcat(line, getconfig("tithek_kinox_url", NULL), 1, 0); 1198 line = ostrcat(line, "#/People/", 1, 0); 1186 1199 line = ostrcat(line, url, 1, 0); 1187 1200 line = ostrcat(line, "#", 1, 0);
Note: See TracChangeset
for help on using the changeset viewer.