diff --git a/hl.php b/hl.php index 931b96b..74ee4c7 100644 --- a/hl.php +++ b/hl.php @@ -31,7 +31,7 @@ function get_userinfo() { base64_encode($nonce), $created); $context = stream_context_create( - array('http' => array('header' => "X-WSSE: $x_wsse")) + array('http' => array('header' => "X-WSSE: $x_wsse\r\n"."User-Agent: HatebuList.alfredworkflow")) ); $file = file_get_contents($url, 0, $context); $json = json_decode($file);