Changeset 22334 for titan/plugins
- Timestamp:
- 07/11/13 21:31:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/movie4k.h
r22327 r22334 155 155 156 156 folgen = string_resub("<TABLE id=\"tablemoviesindex\">", "</TABLE>", tmpstr, 0); 157 // folgen = string_replace_all("\n", "", folgen, 1); 157 folgen = string_replace_all("1000\r\n", "", folgen, 1); 158 folgen = string_replace_all("2000\r\n", "", folgen, 1); 158 159 stringreplacechar(folgen, '\n', ' '); 159 // folgen = string_replace_all("\t", "", folgen, 1);160 160 stringreplacechar(folgen, '\t', ' '); 161 161 string_strip_whitechars(folgen); 162 162 folgen = string_replace_all("</TD> </TR> <TR id=\"coverPreview", "</TD> </TR>\n<TR id=\"cover1Preview", folgen, 1); 163 164 163 if(folgen != NULL) 165 164 { … … 174 173 for(j = 0; j < max; j++) 175 174 { 175 int rcret = waitrc(NULL, 10, 0); 176 if(rcret == getrcconfigint("rcexit", NULL)) break; 176 177 incount += 1; 177 178 link = string_resub("<a href=\"", "\">", ret1[j].part, 0); 178 179 name = string_resub(".html\">", "</a>", ret1[j].part, 0); 179 180 180 char* id = string_resub("online-film-", ".html", link, 0); 181 181 if(id == NULL) … … 188 188 pic = string_resub(from, from, tmpstr, 0); 189 189 pic = string_resub("<img src='", "' alt=", pic, 1); 190 190 if(pic == NULL) 191 pic = ostrcat("http://atemio.dyndns.tv/mediathek/menu/default.jpg", NULL, 0, 0); 192 191 193 if(ostrstr(link, "online-serie-") != NULL) 192 194 type = ostrcat("40", NULL, 0, 0); … … 222 224 free(pic), pic = NULL; 223 225 free(type), type = NULL; 226 if(j == 60) 227 break; 224 228 } 225 229 }
Note: See TracChangeset
for help on using the changeset viewer.