Skip to content

Commit 497214c

Browse files
committed
Update Request.cpp
1 parent 5d61b6c commit 497214c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

source/Net/Request.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool Net::Download(string url, string filepath) {
6767
if (curl) {
6868
fp = fopen(filepath.c_str(),"wb");
6969
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
70-
curl_easy_setopt(curl, CURLOPT_USERPWD, "CXboS8mjRWZneBS:");
70+
// curl_easy_setopt(curl, CURLOPT_USERPWD, "CXboS8mjRWZneBS:");
7171
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
7272
curl_easy_setopt(curl, CURLOPT_RESOLVE, hosts);
7373
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
@@ -118,7 +118,7 @@ bool Net::Downloader1(string url, string filepath) {
118118
if (curl) {
119119
fp = fopen(filepath.c_str(),"wb");
120120
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
121-
curl_easy_setopt(curl, CURLOPT_USERPWD, "NA9CsKnyApss5Lr:");
121+
// curl_easy_setopt(curl, CURLOPT_USERPWD, "NA9CsKnyApss5Lr:");
122122
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
123123
curl_easy_setopt(curl, CURLOPT_RESOLVE, hosts);
124124
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
@@ -169,7 +169,7 @@ bool Net::Downloader2(string url, string filepath) {
169169
if (curl) {
170170
fp = fopen(filepath.c_str(),"wb");
171171
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
172-
curl_easy_setopt(curl, CURLOPT_USERPWD, "YAZi5Fe2FEEopGr:");
172+
// curl_easy_setopt(curl, CURLOPT_USERPWD, "YAZi5Fe2FEEopGr:");
173173
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
174174
curl_easy_setopt(curl, CURLOPT_RESOLVE, hosts);
175175
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);

0 commit comments

Comments
 (0)