GithubHelp home page GithubHelp logo

Comments (10)

Affonso-Gui avatar Affonso-Gui commented on May 12, 2024

Solved by using the --id flag.

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

Maybe you need replace the ?open= to ?uc= in the url.

from gdown.

Affonso-Gui avatar Affonso-Gui commented on May 12, 2024

There was no ?open= in the url:

https://drive.google.com/a/jsk.imi.i.u-tokyo.ac.jp/uc?export=download&confirm=hMP-&id=1HmDj2XQ8sfOsbKlzw2_mqagSN2DmoFqg

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

I see. You are not using url like https://drive.google.com/uc?id=1HmDj2XQ8sfOsbKlzw2_mqagSN2DmoFqg.
I am willing to add that kind of url pattern, for example, https://drive.google.com/a/.*/uc?export=download&.*&id=(.*).
I opened a issue: #15

from gdown.

Affonso-Gui avatar Affonso-Gui commented on May 12, 2024

I'm not really sure, but that was the link google gave me when right clicking the download -> copy link address.

Both setting the --id or using the above uc?id= link solve the problem.

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

I created a PR to solve this problem.
With #16, you can run

gdown 'https://drive.google.com/a/jsk.imi.i.u-tokyo.ac.jp/uc?export=download&confirm=hMP-&id=1HmDj2XQ8sfOsbKlzw2_mqagSN2DmoFqg'

to download the file.

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

I released v3.6.0 so you can try it by sudo -H pip install --no-cache-dir -U gdown.

from gdown.

Affonso-Gui avatar Affonso-Gui commented on May 12, 2024

Was able to successfully download after updating! Thanks!

from gdown.

wkentaro avatar wkentaro commented on May 12, 2024

👍

from gdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.