Download Files and Folders from Google Drive with Python Scripts

Поделиться
HTML-код
  • Опубликовано: 27 дек 2022
  • In this video you will learn how to use gdown to download files and folders from Google Drive using Python scripts. This is very easy and only takes a couple lines of code. Also its very handy because over a billion people use Google Drive and accessing it is a common use case
    SCRIPTS FOLDER:
    github.com/Sanjin84/pylinux/t...
    SPECIFIC FILES:
    github.com/Sanjin84/pylinux/b...
    github.com/Sanjin84/pylinux/b...
    github.com/Sanjin84/pylinux/b...
    🌟🔗 𝗦𝗘𝗖𝗢𝗡𝗗 𝗖𝗛𝗔𝗡𝗡𝗘𝗟 (Coding with GPT) 🔗🌟
    👉 / @codingwithgpt
    📱 𝗦𝗢𝗖𝗜𝗔𝗟 🌐
    🐦 Twitter: / sanjindedic
    🔧 Github: github.com/Sanjin84
    🔗 LinkedIn: / sanjin-dedic
    💻 𝗖𝗢𝗗𝗘 𝗥𝗘𝗣𝗢𝗦 🎯
    1️⃣ WebQuiz (Front End): github.com/Sanjin84/WebQuiz
    2️⃣ WebQuizAPI (Back End): github.com/Sanjin84/WebQuizAPI
    3️⃣ findmyfile (Python Package): github.com/Sanjin84/findmyfile
    🌍 𝗪𝗘𝗕𝗦𝗜𝗧𝗘𝗦 🖥️
    1️⃣ GoPrompt: goprompt.io
    2️⃣ AITrivia: sanjin84.github.io/AITrivia/
    Sanjin Dedic is a highly qualified and experienced robotics engineer and educator, with over a decade of teaching experience in the field of digital technologies. He has co-authored a book on the micro:bit titled "From Go to Whoa with Physical Tech," and has developed numerous teacher professional development programs in Python, including an Australian Teacher Guide to Object Oriented Programming that received a Google grant in 2021. In addition to his extensive experience in the field of education and technology, Dedic has also recently expanded his expertise by completing professional cybersecurity qualifications and organizing a statewide Capture the Flag event for the Victorian Coding Challenge during the COVID lockdowns.
  • НаукаНаука

Комментарии • 14

  • @wisnualkhairi
    @wisnualkhairi 6 месяцев назад

    thanks a lot, it's really help me

  • @yusufersayyem7242
    @yusufersayyem7242 10 месяцев назад

    Thank you so much ☺

  • @rsnor1425
    @rsnor1425 9 месяцев назад +1

    Best tuto dude!

  • @AmitTiwari-me7hu
    @AmitTiwari-me7hu Год назад +1

    cool tutorial dude, just one thing, at 12:04, line 6, the url.split('/')[-1] will consider the entire id and ?usp=sharing, that is because there is no '/' in between id and ?usp=sharing, so the if condition will never satisfy, correct right?

    • @SanjinDedic
      @SanjinDedic  Год назад

      I think you are right but there has to be a / in between so the code should always work. If you can make it fail please let me know and I will update the repo

  • @jiriprochazka3137
    @jiriprochazka3137 10 месяцев назад

    I have two errors:
    1
    url = sys.argv[1]
    ~~~~~~~~^^^
    IndexError: list index out of range
    2
    when i specify the file_id directly, the link that I receive leads to Internal Server Error
    Have anything changed on google since then or do you have any suggestions what am I doing wrong?

  • @luizfelipevercosa
    @luizfelipevercosa 2 месяца назад

    thanks a lot!!!!

  • @ankitrathore8547
    @ankitrathore8547 Год назад

    really helpful bro!!!!!

  • @viniab7066
    @viniab7066 Год назад +1

    Is it possible to download a non-share gdrive link using python??

    • @SanjinDedic
      @SanjinDedic  Год назад

      Good question, I haven't tried! Give it a go using my code and let me know

  • @Rj-im2mu
    @Rj-im2mu 11 месяцев назад

    The "coming up" is a bit of a wasteof time, that's a format better used by entertainment youtubers.