Changeset 37469
- Timestamp:
- Mar 26, 2016, 8:23:56 PM (5 years ago)
- Location:
- titan/plugins/tithek
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek_global.h
r37468 r37469 82 82 else if(ostrstr(tmplink, "p2pcast") != NULL) 83 83 streamurl = p2pcast(url); 84 else if(ostrstr(tmplink, "ecostream") != NULL)85 streamurl = ecostream(url);86 84 else if(ostrstr(tmplink, "vidzi") != NULL) 87 85 streamurl = vidzi(url); … … 198 196 199 197 /* some servers don't like requests that are made without a user-agent field, so we provide one */ 200 //curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0");201 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36");198 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0"); 199 // curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36"); 202 200 203 201 // This is occassionally required to stop CURL from verifying the peers certificate. -
titan/plugins/tithek/tithek_header.h
r37468 r37469 115 115 char* nbaondemand(char* link); 116 116 char* p2pcast(char* link); 117 char* ecostream(char* link);118 117 char* vidzi(char* link); 119 118 char* streamlive(char* link, int incount);
Note: See TracChangeset
for help on using the changeset viewer.