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

Gdrive configuration #11

Closed
Chnaps opened this issue Apr 8, 2022 · 20 comments
Closed

Gdrive configuration #11

Chnaps opened this issue Apr 8, 2022 · 20 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Chnaps
Copy link

Chnaps commented Apr 8, 2022

Hi Marcus, thanks a lot for this amazing app. could you please explain a bit more on how to configure Gdrive (especially for authenticated links ?) I managed to make every other File Hosts work expect for this one. Thanks in advance ! :)

@marcussacana
Copy link
Owner

You should use this extension to extract your cookies in gdrive.
Edge Chrome Firefox
Basically, install the extension, open the google drive in your browser,
then Click in the extension icon and click in the "Export" Button, copy the text of the txt that the has downloaded, paste in the DirectPackageInstaller window after try open a GDrive file, then will works.

@marcussacana marcussacana added the question Further information is requested label Apr 8, 2022
@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

Thanks a lot for your prompt answer ! I'm going to try and decompose what I am doing so you can tell me what I am doing wrong.

  1. This is my personal drive which is not public, so I can only access it when I am authenticated

[removed]

  1. I have specifically opened one pkg link for this test, and clicked the extension and export

[removed]

  1. which gave me this file :

[removed]

I can't seem to find any link in here that I can paste into DirectPackageInstaller ?

thanks again for you work and your help !

@marcussacana
Copy link
Owner

marcussacana commented Apr 8, 2022

Usually you use a public file url and paste in the DirectPackageInstaller, then he will ask for the cookies automatically,
But you can do manually as well, ensure your cookie files is named cookies.txt and put in the DirectPackageInstaller, then, restart it.
If not works then we have a bug here.

@marcussacana
Copy link
Owner

Also, cookies are private, it's better remove that Screenshot since can give access to your account.

@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

oh okay so that's what didn't work, DirectPackageInstaller did not ask for cookies when pasting a public file url. I will try manually and keep you updated. Thanks again !

@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

I'm still getting "Failed to Open the PKG"

@marcussacana
Copy link
Owner

Shoud be a bug then, I didn't tested with private files before anyway.
That said I'm busy creating a major update to the tool, then should take a time to this update be ready.

@marcussacana marcussacana added the bug Something isn't working label Apr 8, 2022
@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

Here's one link (public) to one of the smaller pkgs of the GDrive :

https://drive.google.com/file/d/1JCswtwirKXA_jF46WGXt8c81nwU_J8im/view?usp=sharing

The link works, but I get "Failed to Open the PKG" in DirectPackageInstaller. Ccan you test it on your side ?

@marcussacana
Copy link
Owner

yup, buggy, isn't working.

@marcussacana
Copy link
Owner

Let'me check if is a minor bug, then I can do a hotfix now

@marcussacana
Copy link
Owner

Test it in the lastest version, the 5.2.0 version.

@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

will test it immediately thanks !!!

@Chnaps
Copy link
Author

Chnaps commented Apr 8, 2022

you are an amazing genius, it works perfectly

@marcussacana
Copy link
Owner

Good, feel free to contact if you had any problem again

@Mc-muffin
Copy link

So, I'm not the original poster, but I ran into a similar problem, the first time trying to download a GDrive link goes "fine" (Proxied download, NO segmented download) but then the download fails on the PS4 after around 5 minutes, after that trying to add any GDrive links to the app just won't work until hours later, any ideas about that?

@marcussacana
Copy link
Owner

@Mc-muffin you have put your gdrive cookies in the DirectPackageInstaller?

@Mc-muffin
Copy link

@Mc-muffin you have put your gdrive cookies in the DirectPackageInstaller?

Yes, I used the cookies.txt extension, and the first time ever it did show the pkg in the app and everything, but the download failed on PS4 after around 5min, now the cookies don't seem to work and show the "failed to load PKG" in the app. Only "weird" thing is that I have more than one account logged-in , but that shouldn't matter as the file i oubk

@marcussacana
Copy link
Owner

@Mc-muffin Try delete the cookies.txt in the DirectPackageInstaller folder and setup again.
Also, try enable the Proxy Mode if you didn't enabled yet, since that will be able to automatically refresh the download url if expired, while the PS4 standalone download can't do that.

@Mc-muffin
Copy link

Mc-muffin commented Jul 8, 2022

Okay, didn't have time for testing before, but after some tests it works just the first time, after that the file (in jdownloader) shows "download quota exceeded" which is weird because the file is on a personal google drive, I guess it's because I pick the cookies while loged to 7 accounts? Does that make sense?

@marcussacana
Copy link
Owner

The login is to bypass that download quota a bit more, but still have a limitation.
The drive don't allow you download your file many times even if you own it, you should have this problem more easy if you used the Segmented Download mode, since that will open multiple connections and basically start the download multiple times, this make the gdrive limit smaller than the usual, if you got trouble with that you should disable the Segmented Download mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants