Changeset 42030
- Timestamp:
- Mar 31, 2018, 9:22:20 PM (3 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/kinox.h
r42028 r42030 664 664 titheklog(debuglevel, "/tmp/kinox7_tmpstr5", hname, NULL, NULL, tmpstr5); 665 665 666 int cloudflare = 1; 667 int localhoster = 1; tmpstr5 = string_replace_all("\\", "", tmpstr5, 1); 666 tmpstr5 = string_replace_all("\\", "", tmpstr5, 1); 668 667 if(ostrstr(tmpstr5, "iframe src") != NULL) 669 668 url4 = string_resub("<iframe src=\"", "\"", tmpstr5, 0); … … 771 770 string_tolower(pichname); 772 771 pichname = stringreplacecharonce(pichname, '\n', '\0'); 773 int cloudflare = 1; 774 int localhoster = 1; type = 14; 772 type = 14; 775 773 776 774 debug(99, "-------------------------------"); … … 811 809 pichname = stringreplacecharonce(pichname, '\n', '\0'); 812 810 type = 14; 813 814 int cloudflare = 1; 815 int localhoster = 1; debug(99, "-------------------------------"); 811 debug(99, "-------------------------------"); 816 812 debug(99, "(%d/%d) %s (Part4) url: %s extra: %s",i ,max , hname, url4, extra); 817 813 -
titan/plugins/tithek/tithek.h
r42028 r42030 652 652 653 653 if(link == NULL) return NULL; 654 if(ostrncmp("http://", link, 7) && ostrncmp("https://", link, 8)) return NULL; 655 /* 654 656 if(ostrncmp("http://", link, 7) && ostrncmp("https://", link, 8) && ostrncmp("/tmp/localhoster/hoster.sh get", link, 30)) return NULL; 655 /* 657 656 658 if(!ostrncmp("/tmp/localhoster/hoster.sh get", link, 30)) 657 659 cloudflare = 1;
Note: See TracChangeset
for help on using the changeset viewer.