Update webpagetool.php

This commit is contained in:
Namhyeon Go 2020-02-13 19:36:14 +09:00 committed by GitHub
parent dc56f6b737
commit efd11f28fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -585,6 +585,8 @@ if(!is_fn("get_web_page")) {
$content = get_web_wget($url, $req_methods[0], $data, $proxy, $ua, $ct_out, $t_out);
} elseif(in_array("aria", $req_methods)) {
$content = get_web_aria($url, $req_methods[0], $data, $proxy, $ua, $ct_out, $t_out);
} elseif(in_array("httpie", $req_methods)) {
$content = get_web_httpie($url, $req_methods[0], $data, $proxy, $ua, $ct_out, $t_out);
} elseif(in_array("jsondata", $req_methods)) {
$response = get_web_curl($url, "jsondata", $data, $proxy, $ua, $ct_out, $t_out, $headers);
$content = $response['content'];