OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Gdown is giving Permission error for particular file,although it is opening up fine manually

  • Thread starter Thread starter jatin rajani
  • Start date Start date
J

jatin rajani

Guest
I am not able to download file using gdown package.It is giving permission error. But when i am opening it manually.It is giving no such error and opening up fine. Here is the code i am using and link

Code:
import gdown
url='https://drive.google.com/uc?id=0B1lRQVLFjBRNR3Jqam1menVtZnc'
output='letter.pdf'
gdown.download(url, output, quiet=False)

Error is Permission denied: https://drive.google.com/uc?id=0B1lRQVLFjBRNR3Jqam1menVtZnc Maybe you need to change permission over 'Anyone with the link'?
<p>I am not able to download file using gdown package.It is giving permission error.
But when i am opening it manually.It is giving no such error and opening up fine.
Here is the code i am using and link</p>

<pre><code>import gdown
url='https://drive.google.com/uc?id=0B1lRQVLFjBRNR3Jqam1menVtZnc'
output='letter.pdf'
gdown.download(url, output, quiet=False)
</code></pre>

<p>Error is
Permission denied: <a href="https://drive.google.com/uc?id=0B1lRQVLFjBRNR3Jqam1menVtZnc" rel="noreferrer">https://drive.google.com/uc?id=0B1lRQVLFjBRNR3Jqam1menVtZnc</a>
Maybe you need to change permission over 'Anyone with the link'?</p>
 

Latest posts

Top