Changeset 35781 for titan/plugins


Ignore:
Timestamp:
09/26/15 18:20:13 (9 years ago)
Author:
obi
Message:

tithek fix thevideo hoster

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

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

    r35567 r35781  
    7373        streamlink = string_resub("name=\"src\"value=\"", "\"", tmpstr, 0);
    7474        if(streamlink == NULL)
     75                streamlink = string_resub("'label' : '360p', 'file' : '", "'", tmpstr, 0);
     76        if(streamlink == NULL)
    7577                streamlink = string_resub("'label' : '240p', 'file' : '", "'", tmpstr, 0);             
     78        if(streamlink == NULL)
     79                streamlink = string_resub("label: '240p', file: '", "'", tmpstr, 0);           
     80        if(streamlink == NULL)
     81                streamlink = string_resub("label: '360p', file: '", "'", tmpstr, 0);           
     82        if(streamlink == NULL)
     83                streamlink = oregex(".*(http://.*v.mp4).*", tmpstr);
    7684
    7785        titheklog(debuglevel, "/tmp/mightyupload3_streamlink", NULL, NULL, NULL, streamlink);
  • titan/plugins/tithek/thevideo.h

    r35513 r35781  
    7171        if(streamlink == NULL)
    7272                streamlink = string_resub("'label' : '240p', 'file' : '", "'", tmpstr, 0);             
     73        if(streamlink == NULL)
     74                streamlink = string_resub("label: '240p', file: '", "'", tmpstr, 0);           
     75        if(streamlink == NULL)
     76                streamlink = string_resub("label: '360p', file: '", "'", tmpstr, 0);           
     77        if(streamlink == NULL)
     78                streamlink = oregex(".*(http://.*v.mp4).*", tmpstr);
    7379
    7480        titheklog(debuglevel, "/tmp/thevideo1_streamlink", NULL, NULL, NULL, streamlink);
Note: See TracChangeset for help on using the changeset viewer.