Changeset 42030 for titan/plugins/tithek


Ignore:
Timestamp:
03/31/18 21:22:20 (6 years ago)
Author:
obi
Message:

fix

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/kinox.h

    r42028 r42030  
    664664                                                titheklog(debuglevel, "/tmp/kinox7_tmpstr5", hname, NULL, NULL, tmpstr5);
    665665
    666                                                 int cloudflare = 1;
    667         int localhoster = 1;    tmpstr5 = string_replace_all("\\", "", tmpstr5, 1);
     666                                                tmpstr5 = string_replace_all("\\", "", tmpstr5, 1);
    668667                                                if(ostrstr(tmpstr5, "iframe src") != NULL)
    669668                                                        url4 = string_resub("<iframe src=\"", "\"", tmpstr5, 0);
     
    771770                                                        string_tolower(pichname);
    772771                                                        pichname = stringreplacecharonce(pichname, '\n', '\0');
    773                                                 int cloudflare = 1;
    774         int localhoster = 1;            type = 14;
     772                                                        type = 14;
    775773
    776774                                                        debug(99, "-------------------------------");
     
    811809                                                        pichname = stringreplacecharonce(pichname, '\n', '\0');
    812810                                                        type = 14;
    813 
    814                                                 int cloudflare = 1;
    815         int localhoster = 1;            debug(99, "-------------------------------");
     811                                                        debug(99, "-------------------------------");
    816812                                                        debug(99, "(%d/%d) %s (Part4) url: %s extra: %s",i ,max , hname, url4, extra);
    817813
  • titan/plugins/tithek/tithek.h

    r42028 r42030  
    652652
    653653        if(link == NULL) return NULL;
     654        if(ostrncmp("http://", link, 7) && ostrncmp("https://", link, 8)) return NULL;
     655/*
    654656        if(ostrncmp("http://", link, 7) && ostrncmp("https://", link, 8) && ostrncmp("/tmp/localhoster/hoster.sh get", link, 30)) return NULL;
    655 /*
     657
    656658        if(!ostrncmp("/tmp/localhoster/hoster.sh get", link, 30))
    657659                cloudflare = 1;
Note: See TracChangeset for help on using the changeset viewer.