Last active
February 27, 2021 20:02
-
-
Save GitToDaChoppa/a5595631ffebc7d4e7d9e160b6fade0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import youtube_dl | |
| # Asks for the url | |
| link = input("Write the url") | |
| # Instantiate the YoutubeDL class from the youtube_dl framework | |
| ydl = youtube_dl.YoutubeDL({}) | |
| # Download the video. | |
| ydl.download([link]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment