I try to download a video file from this url
<div style="overflow:scroll;">
https://r10---sn-a5m7znee.googlevideo.com/videoplayback?upn=wWztkINP-Nk&source=youtube&key=yt5&mime=video%2F3gpp&requiressl=yes&initcwndbps=13662500&fexp=9407478%2C9408710%2C9409069%2C9415365%2C9415485%2C9416023%2C9416126%2C9417707%2C9418153%2C9418448%2C9420348&pl=36&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&mt=1442090500&ms=au&ip=2602%3Affea%3A1001%3Aa60%3A%3A8673&id=o-AEiN5gMiULrH4nyZFXgNMByrHGr26gVlBZ74tMKtCqBy&lmt=1421779843167082&expire=1442112121&dur=249.382&mn=sn-a5m7znee&mm=31&ipbits=0&sver=3&itag=17&title=Ellie+Goulding+-+Love+Me+Like+You+Do+%28Official+Video%29&keepalive=no&ratebypass=yes&signature=1255578EB41863E01DDD70B56B15956BECDB7B55.336CEDA1BACCDBB8258B2A717E7C487D459F2C98
</div>
with this script
file_put_contents('video.mp4', file_get_contents($the_link));
but i cant get the file, i have try the script with some urls and it has diferent result
when i download the url with internet download manager there is a notice that says the server sent the following name "file_name"
any solution ?
thanks