ArdiArtani / Google-Drive-Player-Script

Grab google drive streaming links (redirector.googlevideo.com/videoplayback?..)
https://ardiartani.github.io/Google-Drive-Player-Script/
MIT License
319 stars 235 forks source link

Quality Changer (403 Error) #7

Open callmeWash opened 7 years ago

callmeWash commented 7 years ago

Thanks for the great scrip altho there is an issue sometimes the video id starts with:

0Bz- (This is not working)

Other than that this is the best i have found, ill donate once this is resolve :)

milankragujevic commented 7 years ago

Well Amazon Cloud Drive removed the unlimited plan, there is no reason to think Google won't too, I think this is our signal to migrate away from Google Drive... :(

japnimedev commented 7 years ago

403 is really my problem.

screenshot_69

SimDonovan commented 7 years ago

@threathgfx can you pls share the script?

japnimedev commented 7 years ago

@mbivol10 @SimDonovan you'll still get 403 tho, I'm still playin with the codes and finding some hints

callmeWash commented 7 years ago

@threathgfx Like i said before without a proper api you won't be able to overpass the 403, now what i know some VPN servers have api integration for google drive and other storage server but get removed do to violation of TOS so they don't last long.

Google drive -> api -> JSON - > cookie = request

This is the perfect order to grab the file.

rastafara45 commented 7 years ago

i currently test my api here's newapi

ghost commented 7 years ago

@mbivol10 that script simply pipes the response from googlevideo to the initial request. It means your server will be delivering the video to the user, not Google, costing you bandwidth. It's not a viable solution.

milankragujevic commented 7 years ago

However what we could do is use my script that splits video into virtual chunks and let cloudflare cache that... anyone interested in a demo? beware, not working on ios because webtorrent...

milankragujevic commented 7 years ago

I made the f***ing demo in any case, here you go: http://mkdrivestream.club/test/

japnimedev commented 7 years ago

@rastafara45 what script is that? @mbivol10 Yeah, I've tried that to my localhost but bluehost doesn't have node support so "meh" for me for a while

thekksed commented 7 years ago

@TheTreesNetwork It might still be viable with couple cheap unmetered vps. Anyone know any php script that can do that?

japnimedev commented 7 years ago

@thekksed what do you mean with the php script?

ghost commented 7 years ago

@thekksed it would be very poor performance, google has CDNs worldwide for video. There's a reason people haven't been writing their scripts this way to get around the issue.

It's not a new technique - the code is just downloading the video from Google and then streaming it to the user as it downloads. It of course gets around any cookie/ip restrictions but is slow.

japnimedev commented 7 years ago

Im now curious to rastafara45's api

150151714 commented 7 years ago

@milankragujevic Hello, I tried your GetLinkDownloadGoogleDrive but it seems that the return url is not working, it always show 403 error

RiseCoder commented 7 years ago

Yes, I still can not find a solution. It should not be that hard.

milankragujevic commented 7 years ago

@150151714 I don't think it works anymore, you need to use a proxy, google filled all the holes afaik.

rastafara45 commented 7 years ago

[{file: "https://reDIrECtOR.GOoGLeVIdEo.coM/videoplayback?id=19e3c7fd6fd45f15&itag=22&source=webdrive&requiressl=yes&ttl=transient&mm=30&mn=sn-q4f7sn7l&ms=nxu&mv=u&pl=24&ei=ln4_Wb7pMYXlqgXb_KOgBw&driveid=0B6VYU2mjTdy0WVRjb1BJUU1hYXM&mime=video/mp4&lmt=1480991186991194&mt=1497332944&ip=162.218.115.210&ipbits=0&expire=1497347798&sparams=ip,ipbits,expire,id,itag,source,requiressl,ttl,mm,mn,ms,mv,pl,ei,driveid,mime,lmt&signature=3A7906419CD4A488B70F774E29B8CC05F56EAB74.82A4A87C5CC915419493133DB8BB70AA394DDE3D&key=ck2&app=explorer",label: "720p", type: "video/mp4"}]

@threathgfx here's my api looks like u can test it http://player.kiulah.com/newapiv3/?url=https://drive.google.com/file/d/0B6VYU2mjTdy0WVRjb1BJUU1hYXM/view but, it will blank if the limits reached

i try to broke google's limits 500/day but it seem's impossible...

RiseCoder commented 7 years ago

@rastafara45 Can you share with us how you do it? I can help you with breaking 500.

rastafara45 commented 7 years ago

@RiseCoder pm me jake@kjpug.ws.gy

RiseCoder commented 7 years ago

@rastafara45 mail sended.

RiseCoder commented 7 years ago

Jake?

2017-06-13 10:59 GMT+03:00 mkalyon notifications@github.com:

@rastafara45 https://github.com/rastafara45 can u send to me mkvodmk@gmail.com

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ArdiArtani/Google-Drive-Player-Script/issues/7#issuecomment-308038214, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab3XY81kUl-KeKiymGbJnfr9s_zRPcb2ks5sDkFTgaJpZM4Nuouj .

milankragujevic commented 7 years ago

I recommend you use scaleway's cheapest server in a multi config plus a load balancer, because they offer 200Mbps bandwidth for €2.6/mo... It works, I already did it.

bebetoalves commented 7 years ago

This guy manages to generate direct links from gdrive without IP restriction, any idea how he got it? I have already tried the API but has restriction to download.

http://www.bagusdl.pro/drive/

japnimedev commented 7 years ago

@mbivol10 could you tell me more about that since I'm just only a beginner

bebetoalves commented 7 years ago

I've already been able to generate, but I can't download. And his link is somewhat different from the API generated.

http://i.imgur.com/1bWjeVO.png

SimDonovan commented 7 years ago

Im new in Curl but luck this guys: https://github.com/SimDonovan/Obtener-Links-IPv4-IPv6-Google-Drive

milankragujevic commented 7 years ago

@bebetoalves Scrape the download page and get download link that way. It doesn't have IP restriction.

@SimDonovan That doesn't work.

bebetoalves commented 7 years ago

@milankragujevic I've tried this, no IP restriction but has cookie restriction.

bebetoalves commented 7 years ago

Never mind, I found a solution. :D

SimDonovan commented 7 years ago

@bebetoalves what solucion my friend?

BrunoGysin commented 7 years ago

Drive work: https://www.pharstream.com/Movie/2375275331/

bebetoalves commented 7 years ago

@milankragujevic I'm getting 400 bad request on scraped link (i'm using php to do this), any idea how to solve this?

RiseCoder commented 7 years ago

@BrunoGysin Will you share with us?

SimDonovan commented 7 years ago

So much bla bla bla bla and no 1 share....

RiseCoder commented 7 years ago

@SimDonovan Yes. Less talk a lot of work.

japnimedev commented 7 years ago

just waiting for the solution...

savanup commented 7 years ago

need help! any solution for API that convert to JWplayer embed code .... i will donate some amount!!!

Leonsss commented 7 years ago

Guys here is a link for a tutorial of how to get the google drive video link : https://viblo.asia/dam.sam.nang/posts/jvlGaqAmGVr but it is with Ruby on Rails. So anyone who knows ruby on rails can try it and tell us if it works.

ArdiArtani commented 7 years ago

@Leonsss I tried it few days ago it didn't work.

bebetoalves commented 7 years ago

"Note: THAT URL JUST WORKS WITH SHARE ANYONE, IF YOU WANT TO WANT WORK WITH URL PUBLIC OR PRIVATE URL, PLEASE CONTACT TO ME"

I suggest you contact him.

Leonsss commented 7 years ago

@bebetoalves I tried but i didn't see any contact info by him. But I think its not working anymore because google made an update about two weeks ago

japnimedev commented 7 years ago

@mbivol10 so the video is required to be login? is there an automatic process? or nah

rawkon commented 7 years ago

Some links don't work on this player except Google Chrome. Especially MKV format.

Is this related with this problem?

RiseCoder commented 7 years ago

@rawkon no.

Friends have solved this problem, but they do not share. It is retrieved via API via Google accounts, but nobody has explained it with code.

colicrod commented 7 years ago

@cristiantimar https://apimov.com/example.php is 404??? do u still provide example? or what is the correct url...

japnimedev commented 7 years ago

If you can convert this to PHP, you can now bypass the gdrive cookie restriction. => https://github.com/ddurdle/Python-GoogleDrive-VideoStream

ghost commented 7 years ago

@threathgfx how exactly does that bypass the restriction? It just seems to download the file using the cookie, which isn't a solution..

japnimedev commented 7 years ago

@TheTreesNetwork i've seen some website that they are using this cookie thing to remove the restriction of it, In my mind I just thought it may help but you know, Im just a beginner in this coding world so please bear with me.

varunchopra commented 7 years ago

@threathgfx They're using cookies to remove the restriction of cookies?

Has anyone gotten past the audio issue with .mkv files using Google_Http_Request($downloadUrl, 'GET', null, null)? Afaik, this script gets the same link but via DOM selectors. The download link you get doesn't allow .mkv streaming.