问题描述
这些是下载视频的格式,网址类似于
https://r2---sn-1vob-aixe.googlevideo的.com/videoplayback EI = s_aoWfzPFoLeowOV8JWoBA&安培; LMT = 1429524754109153&安培;到期= 1504267027&安培; IP = 103.255.4.14&安培; ITAG = 134安培; MN = SN-1vob-aixe&安培; ipbits = 0&安培;毫米= 31&安培;签名= 2889D0D8D65B24AA0E048C7A99B5F1C3F94C1114.962CDF459E450AE16632EF93584ECC477C3FF784&ms=au&mime=video/mp4&mv=m&source=youtube&pl=24&id=o-AJ_D6KDLa67MTs5ANzKZDyHMMHrf-LHPkhJbOFu_tER_&initcwndbps=663750&dur=21.066&mt=150424=yes&sparams=clen,dur,ei,gir,id,initcwndbps,ip,ipbits,itag,keepalive,lmt,mime,mm,mn,ms,mv,pl,requiressl,source,expire&requiressl=yes&key=yt6&clen=321440
所以当我点击它开始播放到浏览器窗口但我不想要这个.我想强制它像其他网站一样下载.
推荐答案
您可以尝试将这个 &title=video 添加到链接结尾.
这个 &title= 部分构成(保存的)文件名.如果该参数存在,则保存文件.
例如:如果您希望它自动保存为 my video file.mp4,则将 &title=my+video+file 添加到显示的链接中.
示例 HTML 代码:
<a href="YourVideoURL&title=video">Save Video</a>
问题描述
These are the formats for video to download and the URL is something like
So when I click on it start play to browser window but I don't want this. I want to force it to download like other sites do.
推荐答案
You can try adding this &title=video to the link ending.
This &title= part makes the (saved) file name. If this parameter exists, then file will be saved.
For example : If you want it to save automatically as my video file.mp4 then you add &title=my+video+file to your shown link.
Example HTML code :
<a href="YourVideoURL&title=video">Save Video</a>