fix(dns) remove dns.alidns.com

This commit is contained in:
源文雨
2024-04-16 15:27:06 +09:00
parent 50620a2153
commit 2d997dcdcf
10 changed files with 47 additions and 40 deletions

View File

@@ -3,11 +3,13 @@
#include "libcomandy.h"
int main() {
puts(request("{\"method\":\"GET\","
char* para = "{\"method\":\"GET\","
"\"url\":\"https://i.pximg.net/img-master/img/2012/04/04/21/24/46/26339586_p0_master1200.jpg\","
"\"headers\":{"
"\"Referer\":\"https://www.pixiv.net/\","
"\"User-Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0\""
"}"
"}"));
"}";
fputs(para, stderr); fputs("\n", stderr);
puts(request(para));
}