Changeset 36944
- Timestamp:
- 01/25/16 01:05:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/solarmovie.h
r36942 r36944 81 81 free(url), url = NULL; 82 82 83 if(ostrstr(tmpstr, "<div class=\"thirdPartyEmbContainer \"") != NULL)83 if(ostrstr(tmpstr, "<div class=\"thirdPartyEmbContainer") != NULL) 84 84 { 85 tmpstr1 = string_resub("<div class=\"thirdPartyEmbContainer \"", "</div>", tmpstr, 0);85 tmpstr1 = string_resub("<div class=\"thirdPartyEmbContainer", "</div>", tmpstr, 0); 86 86 stringreplacechar(tmpstr1, '\n', ' '); 87 87 88 url = oregex(".*(http ://.*).*\"", tmpstr1);88 url = oregex(".*(http.*).*\"", tmpstr1); 89 89 stringreplacechar(url, '"', '\0'); 90 90 91 91 if(url == NULL) 92 url = string_resub("< center><iframe src=\"", "\"", tmpstr1, 0);92 url = string_resub("<iframe src=\"", "\"", tmpstr1, 0); 93 93 if(url == NULL) 94 url = string_resub("< center><IFRAME SRC=\"", "\"", tmpstr1, 0);94 url = string_resub("<IFRAME SRC=\"", "\"", tmpstr1, 0); 95 95 96 96 if(url == NULL || ostrncmp("http://", url, 7) == 1)
Note: See TracChangeset
for help on using the changeset viewer.