Changeset 37469


Ignore:
Timestamp:
Mar 26, 2016, 8:23:56 PM (5 years ago)
Author:
obi
Message:

fix

Location:
titan/plugins/tithek
Files:
2 edited

Legend:

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

    r37468 r37469  
    8282        else if(ostrstr(tmplink, "p2pcast") != NULL)
    8383                streamurl = p2pcast(url);
    84         else if(ostrstr(tmplink, "ecostream") != NULL)
    85                 streamurl = ecostream(url);
    8684        else if(ostrstr(tmplink, "vidzi") != NULL)
    8785                streamurl = vidzi(url);
     
    198196
    199197                /* 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");
    202200
    203201                // This is occassionally required to stop CURL from verifying the peers certificate.
  • titan/plugins/tithek/tithek_header.h

    r37468 r37469  
    115115char* nbaondemand(char* link);
    116116char* p2pcast(char* link);
    117 char* ecostream(char* link);
    118117char* vidzi(char* link);
    119118char* streamlive(char* link, int incount);
Note: See TracChangeset for help on using the changeset viewer.