Comments (5)
Should download a folder OK as long as it has link sharing enabled.
from gdrivedl.
Hi @matthuisman , I got errors when downloading a shared folder. Please see below:
It is very useful if it can works on a folder. Thanks so much for developing this nice tool!!
from gdrivedl.
This script needs Python installed on the device.
The original bash script only works with files
from gdrivedl.
Do you have any suggestions on the following errors when I use the python function. Both python 2.7 and 3.6 give the same errors. Thanks!
1011 $ python gdrivedl.py https://drive.google.com/drive/folders/1HgQ1Ms90h_hQ1ME95ZXz-ddOSdJOA2jU?usp=sharing
Traceback (most recent call last):
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/data/apps/python/3.6.1/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/data/apps/python/3.6.1/lib/python3.6/ssl.py", line 401, in wrap_socket
_context=self, _session=session)
File "/data/apps/python/3.6.1/lib/python3.6/ssl.py", line 808, in init
self.do_handshake()
File "/data/apps/python/3.6.1/lib/python3.6/ssl.py", line 1061, in do_handshake
self._sslobj.do_handshake()
File "/data/apps/python/3.6.1/lib/python3.6/ssl.py", line 683, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gdrivedl.py", line 214, in
process_item(id, directory)
File "gdrivedl.py", line 84, in process_item
resp = urlopen(url)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/data/apps/python/3.6.1/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>
from gdrivedl.
Try
apt-get install -y python-certifi
Or
pip install --upgrade certifi
Or to skip checking certs
PYTHONHTTPSVERIFY=0 python gdriveldl.py
from gdrivedl.
Related Issues (20)
- not all files from folder are downloaded HOT 4
- Insp
- Some drive links are not working HOT 2
- can't download drive which has special characters HOT 5
- TypeError: normalize() argument 2 must be unicode, not str HOT 1
- ERROR: Quota exceeded for this file HOT 3
- support for aria2 HOT 1
- Updated files on google drive aren't downloaded HOT 3
- ERROR: content-disposition not found HOT 2
- Download with authentication HOT 1
- ERROR: content-disposition not found HOT 2
- Stuck no progress HOT 4
- TODO: Make more friendly to use programmatically (not via cli) HOT 1
- Infinite loop error on folders and file links HOT 4
- Possiblity add option to read url from txt file? HOT 3
- REQUEST: Add "--spider" option #enhancement
- does't support chinese name file HOT 1
- HTML HOT 1
- Please add a license HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdrivedl.