用file_get_contents();就报错 :failed to open stream: HTTP request failed! HTTP/1.1 505 HTTP Version Not Supported!!!
curl直接返回空
参考: https://blog.csdn.net/bianb123/article/details/81557300
用preg_replace('# #','%20',$url);处理url
无论 file_get_contents(); 还是curl 都可成功请求