Changeset 32088
- Timestamp:
- 01/04/15 17:42:16 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/streamcloud.h
r30269 r32088 76 76 } 77 77 78 waitmsgbar(16, 0, _("Connect with Hoster wait 16 seconds"), 1);78 // waitmsgbar(16, 0, _("Connect with Hoster wait 16 seconds"), 1); 79 79 80 80 titheklog(debuglevel, "/tmp/streamcould1_get", NULL, NULL, NULL, tmpstr); … … 132 132 hash = ostrcat(hash, "hash=", 1, 0); 133 133 hash = ostrcat(hash, hashline, 1, 0); 134 hash = ostrcat(hash, "&imhuman=Weiter+zum+Video", 1, 0); 134 // hash = ostrcat(hash, "&imhuman=Weiter+zum+Video", 1, 0); 135 hash = ostrcat(hash, "&imhuman=Watch+video+now", 1, 0); 135 136 hash = ostrcat(hash, "&usr_login=", 1, 0); 136 137 hash = ostrcat(hash, usr_login, 1, 0); … … 142 143 hash = ostrcat(hash, id, 1, 0); 143 144 hash = ostrcat(hash, "&op=", 1, 0); 144 hash = ostrcat(hash, op, 1, 0); 145 // hash = ostrcat(hash, op, 1, 0); 146 hash = ostrcat(hash, "download2", 1, 0); 145 147 debug(99, "hash: %s", hash); 146 148 hashlen = oitoa(strlen(hash)); 147 149 /* 148 150 send = ostrcat(send, "POST ", 1, 0); 149 151 send = ostrcat(send, tmppath, 1, 0); … … 155 157 send = ostrcat(send, cookie, 1, 0); 156 158 send = ostrcat(send, "\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n", 1, 0); 159 send = ostrcat(send, hash, 1, 0); 160 debug(99, "send: %s", send); 161 */ 162 send = ostrcat(send, "POST ", 1, 0); 163 send = ostrcat(send, tmppath, 1, 0); 164 send = ostrcat(send, " HTTP/1.0\r\nContent-Length: ", 1, 0); 165 send = ostrcat(send, hashlen, 1, 0); 166 send = ostrcat(send, "\r\nAccept-Encoding: gzip", 1, 0); 167 send = ostrcat(send, "\r\nHost: ", 1, 0); 168 send = ostrcat(send, tmphost, 1, 0); 169 send = ostrcat(send, "\r\nUser-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0", 1, 0); 170 send = ostrcat(send, "\r\nConnection: close", 1, 0); 171 send = ostrcat(send, "\r\nReferer: ", 1, 0); 172 send = ostrcat(send, link, 1, 0); 173 // send = ostrcat(send, "\r\nCookie: ", 1, 0); 174 // send = ostrcat(send, cokkie, 1, 0); 175 send = ostrcat(send, "\r\nContent-Type: application/x-www-form-urlencoded", 1, 0); 176 send = ostrcat(send, "\r\n\r\n", 1, 0); 157 177 send = ostrcat(send, hash, 1, 0); 158 178 debug(99, "send: %s", send);
Note: See TracChangeset
for help on using the changeset viewer.