curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, -1);\r
\r
// the url to get\r
- std::string login_url = "http://freesound.iua.upf.edu/forum/login.php";\r
+ std::string login_url = "http://www.freesound.org/forum/login.php";\r
curl_easy_setopt(curl, CURLOPT_URL, login_url.c_str() );\r
\r
// perform online request\r
curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, -1);\r
\r
// the url to get\r
- std::string search_url = "http://freesound.iua.upf.edu/searchTextXML.php";\r
+ std::string search_url = "http://www.freesound.org/searchTextXML.php";\r
curl_easy_setopt(curl, CURLOPT_URL, search_url.c_str());\r
\r
// perform the online search \r
curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&xml_page);\r
\r
// URL to get\r
- std::string getxml_url = "http://freesound.iua.upf.edu/samplesViewSingleXML.php?id=";\r
+ std::string getxml_url = "http://www.freesound.org/samplesViewSingleXML.php?id=";\r
getxml_url += ID;\r
\r
curl_easy_setopt(curl, CURLOPT_URL, getxml_url.c_str() );\r
\r
// create the download url, this url will also update the download statics on the site\r
std::string audioURL;\r
- audioURL += "http://freesound.iua.upf.edu/samplesDownload.php?id=";\r
+ audioURL += "http://www.freesound.org/samplesDownload.php?id=";\r
audioURL += ID;\r
\r
setcUrlOptions();\r