Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality Changer (403 Error) #7

Open
callmeWash opened this issue Jun 2, 2017 · 258 comments
Open

Quality Changer (403 Error) #7

callmeWash opened this issue Jun 2, 2017 · 258 comments

Comments

@callmeWash
Copy link

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 :)

@ArdiArtani
Copy link
Owner

Can you send me the link let me take a look

@callmeWash
Copy link
Author

@callmeWash
Copy link
Author

Funny this works jus fine, maybe is the file type?
0B-5FC9-wtiZzclppeUxlQ21pQW8

@ArdiArtani
Copy link
Owner

@wteran Both urls are working for me

@asnawibato
Copy link

Yeah me too ... all file id is working... it is possible if ever i use jwplayer?

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@gnouv how you manage to get that redirector link without driveid params ?

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@gnouv where did you get that link ?

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@gnouv what is the link ?

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@gnouv wow how they manage to get that with out params driveid JUST WOW Hahaha

@mkalyon
Copy link

mkalyon commented Jun 3, 2017

@gnouv this site hide driveid, if you dont use drive id you cannot get stream links.

@mkalyon
Copy link

mkalyon commented Jun 3, 2017

@gnouv I know, this site hide driveid before get links.
They use driveid in their php codes.
Therefore we can see only redirect links.

@mkalyon
Copy link

mkalyon commented Jun 3, 2017

@gnouv ok thanks I cannot explain it.
Sorry for my English.

@ArdiArtani
Copy link
Owner

If anyone can help me please you are more than welcome to join.

@ghost
Copy link

ghost commented Jun 3, 2017

@ArdiArtani google did another update 1 day ago and now is very very hard to get the redirectors:(. Saw the solution on videoapi.io, a VN guy did it without driveid parameter..

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@cristiantimar did videoapi.io already fixed the issue ?

@ghost
Copy link

ghost commented Jun 3, 2017

@Sweeeeep Yes. but not every request will show you the redirectors, if you refresh every api call if it doesn't tell your the redirectors, after many refresh it will. I think that happened because they have VPS..

@Sweeeeep
Copy link

Sweeeeep commented Jun 3, 2017

@cristiantimar ohh okay !

@asnawibato
Copy link

Only mp4 format supported but some format is not working. like flv and avi.

@ArdiArtani
Copy link
Owner

@TheTreesNetwork Do you have a demo site ?

@dicksin2017
Copy link

google drive quota exceeded

@callmeWash
Copy link
Author

@dicksin2017 yes the script uses the direct download link to stream from google server, that's why u get a quota. it would be better to use api and then send request so it stores it, so the quota won't appear but Google made some changes and is making it hard but not impossible, i guess the trick will be rely on the experts. I'm still a novice with all this lol

@Sweeeeep
Copy link

Sweeeeep commented Jun 6, 2017

@TheTreesNetwork do you have demo ?

@asnawibato
Copy link

asnawibato commented Jun 6, 2017 via email

@japnimedev
Copy link

The problem is how we overcome that "403 Forbidden" error.

@callmeWash
Copy link
Author

@threathgfx the forbidden error appears if the api has been terminated or no api at all you can see how it works on the google api console.
https://console.developers.google.com/apis/library

@japnimedev
Copy link

@wteran so basically, if I insert an api script. This 403 thing will vanish and the video will work? Cuz I'm really confuse now since I've check this site "apimov.com/get/insertidhere" and the video links are not working
Test site: http://japnime.com/script/beta1/deep/test.php
Test site2: http://japnime.com/script/beta1/deep/level2/index.php

@callmeWash
Copy link
Author

yes however there is been some modifications on the google apis, due to the amount of illegal hosting altho there is ways it is hard to get, moreover vpn seems to way to go also there is some coherent with youtube's api now so it might be easier but like i mentioned before I'm not an expert in this.

@ArdiArtani
Copy link
Owner

Guys I tried everything I even bought a hosting that supports ipv6 but it's not working. We need more people to contribute and lets make this happen :)

@japnimedev
Copy link

japnimedev commented Jun 6, 2017

@ArdiArtani I've discovered something but I think you have seen this tho, sent from your email.
If you manage to get what I mean from that email, by getting the links of it by their quality then hopefully this will succeed since pre_replace this urls to redirector.googlevideo.com will not work unless you have methods of it. (Decode the file by url decoder to understand it)

@kjvfghkrgs
Copy link

@fogil That is not what I'm looking for. I just wanna know how to get lh3 from public share drive url. I can get lh3 in my account through picker, but not public share drive url. If you can do that, just tell me, I'll tell you the rest part to make it works.
@rastafara45 Based on that url, I can tell you, it was generated from http://cloudstreamapi.com
@dungvaph03374 I know, and I can make it work perfectly, more than cloudstreamapi can do. I just want to know how to get lh3 from pub share drive url.

@fogil
Copy link

fogil commented Jan 24, 2019

@dungvaph03374 We all would love to use Photos API if it can give us google URLs for public use that is cookie-free. To my knowledge, it does not. That is why we are staying on Google drive.

@mangemve1511
Copy link

mangemve1511 commented Jan 25, 2019

Now i using this code. It working with google photo also google drive.
https://play.phimhay-hd.xyz/play/player-demo/

@kjvfghkrgs
Copy link

Google was make changes on googlevideo link with cp param which contain access to file cookie.
Before, to remove cp param, we can simple get header with mobile UA.
For now, I was figured out a new way to bypass this param again. If you can get/generate lh3 url, just tell me how. I'll tell you how to bypass this param.
One more important thing, if google still not check IP request and IP access, there's no way to protect goooglevideo link.

@aakricha
Copy link

Now i using this code. It working with google photo also google drive.
https://play.phimhay-hd.xyz/play/player-demo/

can you share the code please?

@anandasatura
Copy link

@kjvfghkrgs how to bypass lh3? contact me : anandasatura [at] gmail [dot] com

This was referenced Feb 5, 2019
@lesotadil
Copy link

Upload video to somewhere as an encoder, wait until video encoded and download different quality back to vps/server
Generate HLS/DASH with FFMPEG or MP4Box then upload to drive, i prefer dash + mp4box with single segment option
MP4Box -out 360p.mpd -dash 4000 -dash-profile onDemand 360p.mp4
To avoid download limit you can use copy api to duplicate video but it will increase storage size
So build a proxy script and put it on Heroku (Free), Clever-cloud (Free €20) or your own vps/server
Along with proxy you also need file caching, use cloudflare (max 512MB) or google cache (googleusercontent.com/gadgets/proxy max 10MB)
image

@zeydhan2
Copy link

zeydhan2 commented May 2, 2019

Hello guys, i found website that can bypass google drive play limit. It also have redirector link (lh3.googleusercontent) few hours after you submit video. It also can recover deleted google drive file. You can tes submit your link and then delete your google drive file, it can still be played.
The link is https://gdriveplayer.us

@quocnguyen
Copy link

quocnguyen commented May 8, 2019

Google was make changes on googlevideo link with cp param which contain access to file cookie.
Before, to remove cp param, we can simple get header with mobile UA.
For now, I was figured out a new way to bypass this param again. If you can get/generate lh3 url, just tell me how. I'll tell you how to bypass this param.
One more important thing, if google still not check IP request and IP access, there's no way to protect goooglevideo link.

I would love to know how to bypass file cookie and cp param, I know how to generate lh3 url.
@kjvfghkrgs

@zeydhan2
Copy link

zeydhan2 commented May 8, 2019

@zeydhan2 i'm guessing you own this gdriveplayer.us?

Both the above URLs are links to videos stored in Google Photos (Picasa) which do not have the exact same limit as drive videos. You can use the "Sync photos & videos from Google Drive" setting to get Drive videos in to Google Photos and then generate links.

Yes, you can manually convert google drive to picasa that way, but it will return "source=webdrive" which has limit as google drive. here are the example: https://lh3.googleusercontent.com/crJn-OITqneCbQ0XKaicu_2Sn0gsypgeLQPJmtSRQaICoGemM0DQfW62JJVsyAsNsPV-jTKb1mc28dWev_p67uLw77Fqm1obp7335vSCpcNnYR8iiewuNmU6vf7-EWBRTmu5l0kGusFwOon9fncZ4xzbMK-S8BTogdQ0V64vqFC-62ypwjAuWip7n_nPXpV8Qz77AM3K3NJrzSy80iV2MgVWvPZixsTzGoPtJDcA0lSmvjRZqKnlsnqVPNe1Oc-q47noR3dok5qWveZpNbwo-zP3GUUu5R-uq4-_T5tNYKx0LIeLItQLXi0ZW2O02MUPKmYrh2X9Nme2eAFyFmK_MGkmC6cEmHqIBk8zD5X7bIzg9zh91gmL1sRH_uj1mDfyV4b24D4mSL2ltjaGv0iKZI1LuCVVkVrcYG-psGO8Zu6DtyHKkUMjXGgS3I5hM-AVfTPQFDeCGBaFv_33JH60I72eithuyJ6uZX3sxTk2ZQ_irWhyPlXDF8t7qh9jA6CpXELBOIUHdQg7bW5J1FFRyLOV0xpRb1n1jTUXjo7-p1LLlBhPqrpRmLXtarl64JOoU2O9GG0XoLLOVhmOjWFouFuO43dFcuY2BPTlkPbHYcO8kqgi35d4SQ6-o9b9q64_kes3HuN-IcZ8xbop52k69NbIh-5sjm-1=m18
which return https://r2---sn-npoeened.c.lh3.googleusercontent.com/videoplayback?id=eddd7af7049f6053&itag=18&source=webdrive&begin=0&requiressl=yes&pl=24&sc=yes&ttl=transient&ei=8i7TXOuFLY6qoAPP1a8I&susc=drp&app=fife&driveid=1mvwqHdcm13GyfGkoZ2nkrVwQWKwwk_bA&mime=video/mp4&dur=5495.513&lmt=1532573231009031&ip=202.67.46.8&ipbits=8&expire=1557351187&cp=TUlQV05UX1BYVUJCTjpaTExDWlBPeGVwa1J2YWdCTjRvLVU0dng0R0YwRVNPRkkzUXhVZzdiNWNHVkdJTnE3UzRqUzFWT2F3ZXRKeFg&sparams=app,cp,driveid,dur,ei,expire,id,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,requiressl,sc,source,susc,ttl&signature=45573F21975C2FD03D42CD49E3DE9467D2756C.536E589D54CF072F4824C07721149C3727635558&key=cms1&redirect_counter=1&cm2rm=sn-nposz7l&req_id=4b642e3af772a3ee&cms_redirect=yes&mm=34&mn=sn-npoeened&ms=ltu&mt=1557343874&mv=m

If you try and use a random Drive video with gdriveplayer.us, you'll see it actually uses the Drive API download url (https://-docs.googleusercontent.com/docs/securesc//////**?e=download) rather than a googlevideo.com url, so definitely don't use that service, you'll be wasting your money.

Can you please note that the download url have different ID than the file you're submit? it protect your original drive ID and instead return different ID that the file you're submit. and after playing it once, you can delete your original file ID, the player can still play your video) and then please wait after several minutes to hour, download url will be converted to picasa link (lh3.googleusercontent)

@Zebraslive
Copy link
Contributor

Zebraslive commented May 8, 2019

@zeydhan2 just give it a rest.....we all know you're affiliated with that site. stop trying to take advantage of the situation by pushing your sub-par API on novice developers. "Hello guys, i found website that can bypass google drive play limit." lol. some real BS.

By using a third party link/embed provider you are taking the risk of having your traffic hijacked or worse.

NEVER use third party embeds unless you know they are reputable and are rev-share based. They will make a nice profit off of your hard work and eventually disappear leaving your site broken because you relied on their API.

@Abdamingani
Copy link

@zeydhan2 just give it a rest.....we all know you're affiliated with that site. stop trying to take advantage of the situation by pushing your sub-par API on novice developers. "Hello guys, i found website that can bypass google drive play limit." lol. some real BS.

By using a third party link/embed provider you are taking the risk of having your traffic hijacked or worse.

NEVER use third party embeds unless you know they are reputable and are rev-share based. They will make a nice profit off of your hard work and eventually disappear leaving your site broken because you relied on their API.

That is true..

@japnimedev
Copy link

I can share the method to get redirector url from picasa (not lh3 but the redirector one, so without limits etc like this "https://r2---sn-4g5edns6.googlevideo.com/videoplayback?id=8442d77b192ad837&itag=22&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-4g5edns6&ms=nxu&mv=u&pl=25&sc=yes&ei=bSPTXNy9GozG1wKn8JHgCg&susc=ph&app=fife&mime=video/mp4&cnr=14&dur=299.839&lmt=1557329875090773&mt=1557340168&ipbits=0&cms_redirect=yes&keepalive=yes&ratebypass=yes&ip=116.203.131.28&expire=1557348237&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,pl,sc,ei,susc,app,mime,cnr,dur,lmt&signature=A9D53879C247421542C30FF51EC4239DF0BD9FE571403BA1980B41965EA86F6C.D22C7C6E6C04BEC5B0EA009178441E91E9A18B747F4420E2204E1EAAE750DFC8&key=us0")
if someone shares a method with me how to fast upload to gphotos, fast convert etc as manually uploading takes like 12 hours to fully convert and even manually uploading straight to gphotos is very slow

You need rdp or vps to upload things efficiently (also to convert things manually without using your own pc).

@bekju
Copy link

bekju commented Jul 21, 2019

Yeah, I've got dedi but there's a problem - can't access my acc to upload through selenium because google block login attempt and can't manually login because it's linux. I'm now getting windows vps and will check if it's any good.
I heard the only way is to upload through selenium as through API counts against storage limit. Now I'm checking if it's mroe efficient to upload straight to photos or to drive -> clone to photos and delete from drive... or if something with cloud storage could work

@milankragujevic
Copy link

You can install a GUI and use VNC on a Linux server, by the way. @brookko Additionally, Google will be disabling photos -> drive and vice versa importing very soon.

@quocnguyen
Copy link

quocnguyen commented Jul 24, 2019

I have a website offer service that can help you guy get google drive link ( give me your driveid, my service will download and upload it to google photos using a lot of google photo account for, you know, bypass limit and make backup)

The site is: https://dt.clgt.vn

You guy also dont need to use my service, because here is a video that i make, explain how to upload to google photo and get link, if you know how to code, then you can do it yourself.

https://www.youtube.com/watch?v=CnzHm1q-c74

Hope this help.

@bekju
Copy link

bekju commented Jul 24, 2019

I have a website offer service that can help you guy get google drive link ( give me your driveid, my service will download and upload it to google photos using a lot of google photo account for, you know, bypass limit and make backup)

The site is: https://dt.clgt.vn

You guy also dont need to use my service, because here is a video that i make, explain how to upload to google photo and get link, if you know how to code, then you can do it yourself.

https://www.youtube.com/watch?v=CnzHm1q-c74

Hope this help.

Does your script download from GDrive and then upload to gphotos? Or does it import from google drive straight to gphotos? Because I have a script that imports from any gdrive shared file to gphotos.

I'm making some progress, I have a reuploader but it manually downloads & uploads straight to gphotos, I'm considering uploading it to google drive first and them import to multiple google photos accounts, would it be better?

@quocnguyen
Copy link

My script download and then upload to multi google photos accs, auto check for state of the result link, and reuploaded if any links die or bad luck, the whole acc die.

I also share this code for free https://github.com/quocnguyen/up (Simple tool to streaming upload remote url to google drive without download the file to local disk first.) which you may want to use or checkout to upload to google drive.

about your question, I'm really not sure haha, since i dont khow that trick import straight from google drive to photos but I think your trick will work better because it doesn't require bandwidth.

Repository owner deleted a comment from RiseCoder Dec 11, 2019
Repository owner deleted a comment from BoolenBread Dec 11, 2019
@nclsjld
Copy link

nclsjld commented Jan 13, 2020

Does anybody have found an API to play GD link directly ?
Paid services prefered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests