
How to get MP4 link from Google Drive August 2017!

Beware This post is more than 3 years old, it may be outdated or incorrect! Please check elsewhere for accurate information!
Updated for end of August 2017: Nobody can play Google Drive redirector links anymore, but if you want to generate download links for files, look in this post here, and if you want quality links from Picasa look here.
Please regularly check back this article to find out the latest info!
Comments (39)

Good job admin. Please visit playerjwvideos.com if everyone need custom player for video/movies streaming. Available free package and Premium/VIP(only GDrive with full protected), contact there admin for pricing. Thanks.....

here is my plugin using proxy on google drive check https://cinemovie.co.networ...

please check skype

@milankragujevic:disqus have you notice google drive's update? if you access many times on the same IP they start blocking you. I don't know how much time it expires.

what about driveid=0ByaRd0R0Qyatcmw2dVhQS0NDU0U
is showing in your url, Hello DMCA.

my research i'd so far is you cannot hide the drive id. i'm using google photos most of my stream, and gp is unlimited than gd's 10GB limit.

but gp is so hard upload over 4 videos, also can't know the videos name not like gd control.

You can try my other method: http://mkdrivestream.club/t...

looks like the file is downloaded to server. now, i'm worry about bandwidth and dmca forwarded to hosting company. anyway this looks good solution so far, files stored safely just like having a db. so, would you recommend a hosting company that ignores dmca and have unli bandwidth?

still i see the ID
<script>window.id='0B2cvEDtEsBKCZHRqelNDOFZXdVE';window.quality='360p'</script>

You can hide the ID server-side... I didn't bother in the demo.

how can i order this script from you?

You can try my other method: http://mkdrivestream.club/t...

I emailed you a few days ago. Could you pls reply?

What is your email? You can email me again, I seem to have lost some emails.

demo please ..


hello, I have sent you an email. Please reply me. Thanks [email protected]

Mogu te nekako kontaktirati na fb, ili ako mozes ti mene
https://www.facebook.com/10...

Preferiram skype tekstualni chat. @milankragujevic na skype.

Hello
I install nginx It works fine.
But there is a security problem, How to prevent people get hotlinking?
How to disable unauthorized access to domain, Prohibition in the address bar to open,Return 403 error?

hi, Milan, the script does not work google changed the algorithm can be updated ? Thank you

I have updated the script with new code for 13th of May 2017. It should work well in the future but if it doesn't tell me and I'll fix it.

in json file its this {"title":null,"thumbnail":null,"duration":null,"fmt_list":[]}

Can you please verify you've installed youtube-dl correctly and it can be run with `youtube-dl -j "[google drive url]"`?

I checked and it's ok

Sorry. I fixed it. Download v4. Somehow I uploaded the wrong file, it worked on my server because there it was the right file. And additionally Google changed methods once again.

You can update the first script for me, I pay

hi Milan, now it works, but the output is not compatible with jwplayer

hi Milan
youtube-dl -j https://drive.google.com/op...
WARNING: "id" field is not a string - forcing string conversion
{"display_id": "0B5qICdpK2azodGlwYngweGF3VzA", "extractor": "GoogleDrive", "protocol": "https", "_filename": "minions.mp4-0B5qICdpK2azodGlwYngweGF3VzA.mp4", "format": "18 - 1920x1080", "requested_subtitles": null, "height": 1080, "duration": 199, "format_id": "18", "playlist_index": null, "playlist": null, "thumbnails": [{"url": "https://lh3.googleuserconte...", "id": "0"}], "title": "minions.mp4", "url": "https://r1---sn-p5qs7nes.c....", "extractor_key": "GoogleDrive", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "id": "0B5qICdpK2azodGlwYngweGF3VzA", "width": 1920, "ext": "mp4", "webpage_url": "https://drive.google.com/fi...", "formats": [{"protocol": "https", "format": "37 - 640x360", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 360, "width": 640, "ext": "mp4", "format_id": "37", "resolution": "640x360"}, {"protocol": "https", "format": "59 - 640x360", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 360, "width": 640, "ext": "mp4", "format_id": "59", "resolution": "640x360"}, {"protocol": "https", "format": "34 - 854x480", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 480, "width": 854, "ext": "flv", "format_id": "34", "resolution": "854x480"}, {"protocol": "https", "format": "35 - 854x480", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 480, "width": 854, "ext": "flv", "format_id": "35", "resolution": "854x480"}, {"protocol": "https", "format": "22 - 1280x720", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 720, "width": 1280, "ext": "mp4", "format_id": "22", "resolution": "1280x720"}, {"protocol": "https", "format": "18 - 1920x1080", "url": "https://r1---sn-p5qs7nes.c....", "http_headers": {"Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip, deflate", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Cookie": "NID=103=Kw-FnRvkZ9kbJ9eIAj5fLcE0Jr0i2qV6KfpvUoFdQ4BYbBVDrMPf2kDvp26pZS4fAtnecKgWHnkilZC0saDyoKR5Aeu-SUVlsT1e2zVlNS8zJSGqTmoyQ4i8MNv0Cwj_; DRIVE_STREAM=As-M1lZMLdM"}, "height": 1080, "width": 1920, "ext": "mp4", "format_id": "18", "resolution": "1920x1080"}], "fulltitle": "minions.mp4", "resolution": "1920x1080", "thumbnail": "https://lh3.googleuserconte...", "webpage_url_basename": "view"}

Milan, I tested the new script but not working, im installed youtube dl , i can send you the data of vps in private on an email address

hi, Milan your script now does not work, the first time worked well

Today does not work anymore the script

I updated the script. Please try again.

how do you format the ip param in config.json? i'm glad you solved my prob and i'm glad to give you some token of appreciation, btc add?
update: sorry, that was confusing question. what i mean was ...&ip=xxx.xxx.xxx.xxx&ipbits=0&.. use the client's ip address, not the server's address.

Hi! I'm sorry, you might've misunderstood. You must proxy the video, Google will check the signature and the client's IP in the URL parameter and will not allow you to change it. This script proxies the video on the server.

Do you have other version like from the others simply using client's ip address not the server itself. cloudflare would be useless in this case. your current version works well but i am hesitant to use it, i tried to modified it by $_SERVER['REMOTE_ADDR'] = $_SERVER['CF_CONNECTING_IP'] but not working

You don't understand, nobody can use client's IP, Google sets the IP in the stream parameters, and nobody can change it. You cannot fake your IP address.

check this link https://goo.gl/RnZuOs, it's using clients ip address ...ip=85.159.xxx.xxx&ipbits=0...