For example, stream12.qqmusic.qq.com34829977.pdf can be directly downloaded through a browser. But it cannot be downloaded through the program, or curl. Only one page indicating no permission can be downloaded. I tried to simulate the header information of the browser. I don't know what is the difference between a program request and a browser request when the header is simulated? Can anyone download this file through a program? Php is the best. I hope you will be enlightened. The solution is to verify the cookie. Program phpcurl
For example, QQ Music, address example: http://stream12.qqmusic.qq.com/34829977.mp3
You can open the download in a browser.
But it cannot be downloaded through the program, or curl.
Only one page indicating no permission can be downloaded.
I tried to simulate the header information of the browser.
I don't know what is the difference between a program request and a browser request when the header is simulated?
Can anyone download this file through a program? Php is the best.
I hope you will be enlightened.
The solution is to verify the cookie.