Changeset 18652


Ignore:
Timestamp:
11/18/12 18:52:40 (11 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r18651 r18652  
    164164
    165165        //get streamlink
    166         streamlink = getxmlentry(tmpstr, "playlist: '");
     166        if(ostrstr(tmpstr, "playlist:") != NULL)
     167                streamlink = getxmlentry(tmpstr, "playlist: '");
     168        else
     169        {
     170                streamlink = string_resub("/get_file.php", "\">Download File</a>", tmpstr, 0); 
     171                streamlink1 = ostrcat("http://www.", host, 0, 0);
     172                streamlink1 = ostrcat(streamlink1, "/get_file.php", 1, 0);
     173                streamlink1 = ostrcat(streamlink1, streamlink, 1, 0);
     174                debug(99, "stream downloadlink");
     175                goto end;
     176        }
     177
     178        debug(99, "streamlink: %s", streamlink);
     179
    167180        if(streamlink != NULL)
    168181        {
Note: See TracChangeset for help on using the changeset viewer.