Changeset 36944


Ignore:
Timestamp:
01/25/16 01:05:58 (8 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r36942 r36944  
    8181                free(url), url = NULL;
    8282
    83                 if(ostrstr(tmpstr, "<div class=\"thirdPartyEmbContainer\"") != NULL)
     83                if(ostrstr(tmpstr, "<div class=\"thirdPartyEmbContainer") != NULL)
    8484                {
    85                         tmpstr1 = string_resub("<div class=\"thirdPartyEmbContainer\"", "</div>", tmpstr, 0);
     85                        tmpstr1 = string_resub("<div class=\"thirdPartyEmbContainer", "</div>", tmpstr, 0);
    8686                        stringreplacechar(tmpstr1, '\n', ' ');
    8787       
    88                         url = oregex(".*(http://.*).*\"", tmpstr1);
     88                        url = oregex(".*(http.*).*\"", tmpstr1);
    8989                        stringreplacechar(url, '"', '\0');
    9090       
    9191                        if(url == NULL)
    92                                 url = string_resub("<center><iframe src=\"", "\"", tmpstr1, 0);
     92                                url = string_resub("<iframe src=\"", "\"", tmpstr1, 0);
    9393                        if(url == NULL)
    94                                 url = string_resub("<center><IFRAME SRC=\"", "\"", tmpstr1, 0);
     94                                url = string_resub("<IFRAME SRC=\"", "\"", tmpstr1, 0);
    9595       
    9696                        if(url == NULL || ostrncmp("http://", url, 7) == 1)
Note: See TracChangeset for help on using the changeset viewer.