jonathantie / googledrive-copy-downloader Goto Github PK
View Code? Open in Web Editor NEWPython script to download google drive files even if the daily limit of download has excedeed.
Python script to download google drive files even if the daily limit of download has excedeed.
Hi, I just started using this script and it's been awesome lately but I'm having an issue with larger files. For example, let's say the file I want to download is larger than the space left in my drive storage, I get an error saying the file has exceeded user storage. I have a regular email with no subscriptions for extra storage BUT I have a team drive with unlimited storage. Would it be possible to shift or change the folder ID of temp folder to the team drive rather than my user storage? That should solve my problem for larger files.
When downloading file with for ex. ".zip.01" it downloads it to ".zip." and constantly overwriting it self pls fix asap <3
When downloading a folder with files named something like "Filename.7z.001, Filename.7z.002, Filename.7z.003, etc." the script seems to trim off the "001, 002, 003, etc." and just saves them all with "Filename.7z" This causes it to just download and write over the same file over and over.
Google has blocked access to the app
Hey
i am unable to download a folder on gdrive which contains files + a folder in it with other files.
it just keeps crashing.
help would be appreciated
I think the problem is this line here: https://github.com/jonathanTIE/googledrive-copy-downloader/blob/master/gDriveLibrary.py#L77
You should probably check which OS the user is running, and append "\" if it's Windows or "/" if it's Linux.
/
when i use credentials to auth... it always throw :
############### Traceback (most recent call last): File "/Users/bpjstk/Documents/script/python/Gdrive_copy/gDriveCopyDownloader.py", line 52, in <module> drive = GoogleAuthManager.create_drive_manager() File "/Users/bpjstk/Documents/script/python/Gdrive_copy/GoogleAuthManager.py", line 18, in create_drive_manager authorize_from_credential(gAuth, bool) File "/Users/bpjstk/Documents/script/python/Gdrive_copy/GoogleAuthManager.py", line 32, in authorize_from_credential gAuth.Refresh() File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pydrive/auth.py", line 470, in Refresh raise RefreshError('No refresh_token found.' pydrive.auth.RefreshError: No refresh_token found.Please set access_type of OAuth to offline.
can someone point mo how to fix it.. because i'd like to run this script in automated environment on my dietpi...
Using latest version (1.2), as soon as I hit Enter after pasting the drive link the program crashes and nothing happens. I tried redoing the installation process but it keeps crashing. I'm running Windows 10 1909 (18363.592).
Would be great if you added a way for us to see the current download speed.
It was working just fine yesterday, but today no matter what drive.google.com URL I give it, it says it's a 404. Tried re-authenticating several times. It works just fine in the browser.
Hi
Just decided to try out the app.
Having a problem though; unable to sign in.
Opening the program for the first time (I guess) requires logging in, opening a Google sign in page.
However, after clicking my account, it won't authorize. It says Google hasn't verified the app yet.
It's in Swedish (since I'm Swedish..)
Basically it says in English:
Sign in with Google has been temporarily disabled for this app
Google has not yet verified this Google Sign-In app.
Looking forward to trying it out later if "we" can get it working.
Thanks!
Thanks for this project, I now know it is possible to bypass quota using developer access, great job!
Since my use case is primarily for bypassing quotas, I find that a link cannot be recognized if it is out of quota, so I must convert that to the standard from.
Maybe consider supporting just IDs or quota exceeded links?
It looks like this
https://drive.google.com/uc?export=download&id=11buVHe8f6B2MyrvJelVfiRlCno3JAmpX
Also, I think it is very cool to have a distributed mini flask app like this. I learned a lot!
My links are in the prescribed format ex. https://drive.google.com/file/d/1nYoR9xvHW6uC6UKXkTtFnhbi4jw7r69Q
OR
https://drive.google.com/file/d/1nYoR9xvHW6uC6UKXkTtFnhbi4jw7r69Q/view
Single links work but multiple links sometime crash after downloading the first of them for some time. As mentioned int he instructions I make sure gdrive is empty.
So I'm using a google drive link that ends in ID=XXXXXXXXXXXXXXX but I'm getting the below 404 error. The link I paste in definitely works for downloading through a web browser (even without copying to my account first).
I've tried this on both Windows (using the exe) and Linux (after installing all of the requirements in a Python 3.6 docker) but getting the same error in both instances.
Any ideas?
error : <HttpError 404 when requesting https://www.googleapis.com/drive/v2/files/XXXXXXXXXXXXXXXXXXXXXXXX?alt=json returned "File not found: XXXXXXXXXXXXXXX">
Link is probably invalid
The current method used has been fixed (copy to the google drive given and download from it), I'm thinking of one workaround, let me know if you have any other ideas :
Check when the quota is reset and instantly download it before the others, and maybe store it (for a few days) in a server to serve it to others users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.