Python Tutorial – How to download YouTube videos using python for beginners

///Python Tutorial – How to download YouTube videos using python for beginners

Python Tutorial – How to download YouTube videos using python for beginners

FavoriteLoadingAdd to favorites

Python Tutorial – How to download YouTube videos using python for beginners – In this tutorial we will be using the pytube module in python to download videos from YouTube using a direct URL.

I would like to thank all of you, for the support that you have showed me in all my recent videos. I am very grateful for it. If you guys have any ideas for future videos make sure to post them in the community tab under my post “ideas for next videos”. And as always guys I will see your beautiful faces in the next tutorial.

Tkinter for beginners series :

Join the discord channel to have some fun:

Follow me on instagram:

Link to code:

*** Music Credits ***

[LAKEY INSPIRED I Mixtape I Ambient, Chillhop, Lofi I No Copyright Background Music] by LAKEY INSPIRED
Promoted by MrSnooze
License: Creative Commons — CC BY-SA 3.0

source

By |2020-12-11T11:09:42+00:00December 11th, 2020|Python Video Tutorials|36 Comments

36 Comments

  1. MUNIM SHAYAN December 11, 2020 at 11:09 am - Reply

    How can we have downloading percentage of video

  2. mcg December 11, 2020 at 11:09 am - Reply

    Sadly, the more quality tutorial never came 🙁

  3. lol December 11, 2020 at 11:09 am - Reply

    It tells me this when i click download(btw its not working for me:( ):
    get_ytplayer_config: could not find match for config_patterns

  4. Paul Haruna December 11, 2020 at 11:09 am - Reply

    please i need help, the error i got was 'module 'json' has no attribute 'loads'

  5. Surya Sudershan December 11, 2020 at 11:09 am - Reply

    I have downloaded pytube3 after I had started to proceeds with query as you have done , but there is one problem that is you had written tinker and what should I write and I'm using(l'm using python 3.9.0 shell*) can you please help me to solve my error

  6. Sanket Patne December 11, 2020 at 11:09 am - Reply

    when i make the exe for this script the code stops working, a little googling told me that the library seems to be broken, but the code works on my machine. Is there any way to make it work as an exe ?

  7. Dev Anand December 11, 2020 at 11:09 am - Reply

    Thank you.
    Greetings from India.

  8. Ravi Jalwan December 11, 2020 at 11:09 am - Reply

    I want to ask how to code to select a video quality of 360, 720, 1080 ?

  9. Bourass December 11, 2020 at 11:09 am - Reply

    when i type the youtube url it gives me 'assets' and message "Video could not downloaded"
    how to solve it ?

  10. piwas sena December 11, 2020 at 11:09 am - Reply

    สุดยอด ขอบคุณครับ

  11. HIKYYD December 11, 2020 at 11:09 am - Reply

    i can't install pytube3 it says pip is not recognized as an internal or external command.
    how do i fix it?

  12. Klomísek December 11, 2020 at 11:09 am - Reply

    module 'pytube' has no attribute 'Youtube'

    what can I do?

  13. Marc Beck December 11, 2020 at 11:09 am - Reply

    Okay, I tried to fix my problem but iI dont know how.
    I can open the GUI, everything works perfectly fine but when I want to download something it prints:

    "Video could not be downloaded"
    And in the terminal says: 'assets'

    How can I fix that?
    Thank you for your help <3

  14. Manu Redd December 11, 2020 at 11:09 am - Reply

    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)>

    I got that error message after I hit download… Could you help me understand what it means??
    Thanks.

  15. Stan Chow December 11, 2020 at 11:09 am - Reply

    Thanks for the great tutorial. I am getting the following error when I try to download a video and I don't know how to correct the problem..
    <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)>

  16. string sprinter December 11, 2020 at 11:09 am - Reply

    when will you make that next tutorial???? cuz 144p is kinda useless

  17. Ayushi Agarwal December 11, 2020 at 11:09 am - Reply

    Really very great sir.. amazing video.. successfully worked at once .. without error ???❤️

  18. nondious December 11, 2020 at 11:09 am - Reply

    it tells me "video cannot be downloaded" and then in the python console it tells me 'assets' and thats it. any way you can help?

  19. Youssef G December 11, 2020 at 11:09 am - Reply

    Thanks a lot

  20. Watermelon Power December 11, 2020 at 11:09 am - Reply

    When will part 2 come?

    pleaaasseeee! I neeed it

  21. Nikhil Chitoria December 11, 2020 at 11:09 am - Reply

    Bro it shows invalid syntax and please tell me extensions you used for this project because i am using vs code for first time please tell me brother

  22. DFE tv Tm December 11, 2020 at 11:09 am - Reply

    how the hell can i chose the best quality ?

  23. Rakzz Japan December 11, 2020 at 11:09 am - Reply

    'assets', that happened after i tried downloading a video. any fix?

  24. Red Point December 11, 2020 at 11:09 am - Reply

    Nothing to understand…. I wish to destroy all c++ and programming languages. To ERASE them completely from the Universe ! Including FFMpeg. My hate grow day by day with each guide and explanation….I am not from human rase. What I am doing here ?? Maybe Coronavirus will help me to leave quickly.

  25. أبو سلمان الجزائري December 11, 2020 at 11:09 am - Reply

    Hello my friend thank you for your time, but I get this problem:
    module 'pytube' has no attribute 'Youtube'

  26. ptrkplka December 11, 2020 at 11:09 am - Reply

    'assets' , that happened after i tried downloading a video. any fix?

  27. 보솜 December 11, 2020 at 11:09 am - Reply

    how can i download over 100 videos from the playlist ?

  28. hamdan yahyai December 11, 2020 at 11:09 am - Reply

    hello brother, thank you very much foe your hard work. my dear I faced this problem
    video_url = url.get()
    TypeError: get() missing 1 required positional argument: 'self'
    how to solve it my dear brother?

  29. Enciu Raluca December 11, 2020 at 11:09 am - Reply

    when i try to download the video it says "module 'pytube' has no attribute 'Youtube'" 🙁

  30. Cita December 11, 2020 at 11:09 am - Reply

    This is great ! how do you download full playlists as well? Thank you.

  31. Delta Stepp December 11, 2020 at 11:09 am - Reply

    for some reason not all videos download. mostly the videos that i search up for
    help

  32. BEASTERN 180 December 11, 2020 at 11:09 am - Reply

    Can you make a second part please.

  33. 보솜 December 11, 2020 at 11:09 am - Reply

    i did just like what you did but it shows "HTTP Error 429: Too Many Requests" message on the console. how can i fix it?

  34. Marwan Elkady December 11, 2020 at 11:09 am - Reply

    great please leave me a video how to chang the py file to EXE. thanks

  35. Vil3N December 11, 2020 at 11:09 am - Reply

    I should follow the tutorial and download this video incase YouTube takes it down lol

  36. Vishesh Vishwakarma December 11, 2020 at 11:09 am - Reply

    Great.
    Love from India

Leave A Comment

*