Changeset 40046


Ignore:
Timestamp:
02/19/17 15:32:28 (5 years ago)
Author:
obi
Message:

add debug

File:
1 edited

Legend:

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

    r40044 r40046  
    106106
    107107        streamlink = string_resub("'label' : '360p', 'file' : '", "'", tmpstr, 0);
     108        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink1", NULL, NULL, NULL, streamlink);
     109
    108110        if(streamlink == NULL)
    109111                streamlink = string_resub("'label' : '240p', 'file' : '", "'", tmpstr, 0);             
     112        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink2", NULL, NULL, NULL, streamlink);
     113
    110114        if(streamlink == NULL)
    111115                streamlink = string_resub("label: '240p', file: '", "'", tmpstr, 0);           
     116        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink3", NULL, NULL, NULL, streamlink);
     117
    112118        if(streamlink == NULL)
    113119                streamlink = string_resub("label: '360p', file: '", "'", tmpstr, 0);
     120        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink4", NULL, NULL, NULL, streamlink);
     121
    114122
    115123        if(streamlink == NULL)         
    116124                streamlink = oregex(".*sources:.*\"file\":\"(http://.*v.mp4).*", tmpstr);
    117125//              streamlink = oregex(".*sources: [{"file":"(http://.*v.mp4).*", tmpstr);
     126        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink5", NULL, NULL, NULL, streamlink);
    118127
    119128        if(streamlink == NULL)
    120129                streamlink = oregex(".*(http://.*v.mp4).*", tmpstr);
     130        titheklog(debuglevel, "/tmp/thevideo2_post_streamlink6", NULL, NULL, NULL, streamlink);
    121131
    122132//      var mpri_Key='LCw2QFU8N0hRPFdBWi4zLVgK';
Note: See TracChangeset for help on using the changeset viewer.