AlexCSDev / PatreonDownloader

Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
MIT License
917 stars 95 forks source link

Question on Google Drive plugin set up instructions #177

Open DisasterInbound opened 1 year ago

DisasterInbound commented 1 year ago

Hello I tried following the instructions to set up the Google Drive plugin but I got stuck on step 2.

The instructions say to go to https://developers.google.com/drive/api/v3/quickstart/dotnet and click on the "Enable the Drive API" however from what I can tell on the link it should redirect me to a section for .NET but the webpage only has instructions for JavaScript, Go, Java, Node.js, Python and Python codelab.

Could you guide me on which of these options I should follow to set it up?

AlexCSDev commented 1 year ago

Well this is quite a shitty move by google. You should be able to get the required file by following the Enable the API and Authorize credentials for a desktop application sections of any of the following languages: Python, Node.js, Java, Go. Then just follow the instructions from this repository starting with step 5.

Let me know if this works for you.

DisasterInbound commented 1 year ago

Thank you for the response.

I tried following the instructions and I'm stuck on the next part. I followed the instructions on the website and I went to the Credentials page to create a OAuth client ID but for this it said that I needed to configure my consent screen for an external type (since my email is not part of an organization). On this page I need to enter information of the application like the project logo, app domain, dev email, scopes, etc. and it seems this will be reviewed by Google prior to being able to get the credentials file.

What do you recommend I should enter?

Spyridion commented 1 year ago

Hi, I'm also stuck on step 2 in the instructions. It looks like google changed it up so the pre-requisites include a google project. Once I did create a project and enabled the google API, there's no desktop app creation button that I can see immediately. Would you know where it could be?

I also think a revamp of the instructions might be needed as google might have completely changed the options/ui.

Natrukei commented 10 months ago

While I cried a little. I think I found the answer: https://developers.google.com/workspace/guides/create-credentials?hl=de#desktop-app Here are instructions for it.

Furthermore I wrote my own set via trial and error: Activate the api Go to: https://console.cloud.google.com/welcome Create new Project Go https://console.cloud.google.com/apis/credentials?hl=de Create new credentials oauth-client-id set a name for the application and the mail adresses Set the mail you want to use as test user Create new credentials oauth-client-id there you can set the application desktop Give it a name

go to https://console.cloud.google.com/apis/library/drive.googleapis.com activate

I am sorry, my language settings are different from what i am writing so if anyone can replicate my way and improve on this your are more than welcome to do so :D