这个链接能看一下什么问题吗?aria2下载没问题,curl下载的文件变成了一段文字。
http://d99.yimuhe.net/downfile/www.yimuhe.com-04%20%E6%99%A8%E5%85%89.flac?key=7MHRPvGrcGavU%2BiYXrS%2Bfe40&f=71kZNLaqr4oRN8%2FFPckQh5oGbHT5B6%2FvK4zlxXAqnxKFBqdtLCnj%2Fu0pSeNBbPBX&e=flac&n=04+%E6%99%A8%E5%85%89
HTTP/1.1 200 OK
Date: Thu, 20 May 2021 12:37:20 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.13
X-Powered-By: ASP.NET
CF-Cache-Status: DYNAMIC
cf-request-id: 0a2b60d9c100006e5a6bb82000000001
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=KLSHXhQMIATkieR6CAPJCoAPQMMNXJWWYwo6X5Sk65DV3TfLh55NlKl0dncFtMvOvRfLSGpuqtgqn1X0D6wyUNg9GU7hmkhKYzKEkxCwPA%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 65259da2ca446e5a-SJC
alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400
-------------------
这个是抓包抓到的信息
a3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><script>alert('下载地址已超时,请重新打开页面下载。');history.go(-1);</script>
0
============
下载到的是这个文件
内容如下,
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><script>alert('下载地址已超时,请重新打开页面下载。');history.go(-1);</script>
================
下面是fiddler抓到的包
GET
http://d99.yimuhe.net/downfile/www.yimuhe.com-04099E559.flac?key=7MHRPvGrcGavUBiYXrSBfe40&f=71kZNLaqr4oRN8FFPckQh5oGbHT5B6FvK4zlxXAqnxKFBqdtLCnjFu0pSeNBbPBX&e=flac&n=04+99E559 HTTP/1.1
Host: d99.yimuhe.net
Accept: */*
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
【 在 hanjiamajia (hanjiamajia) 的大作中提到: 】
: 两个 UA 都可以
--
修改:javame FROM 124.78.137.*
FROM 124.78.137.*