Skip to content

Commit a0c22ae

Browse files
Download using cmd
1 parent 7c485ae commit a0c22ae

File tree

1 file changed

+10
-0
lines changed
  • Download video from cmd using python

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import urllib.request
2+
url = input("Enter the Youtube-url\n")
3+
name = input("Enter the name for the video\n")
4+
name=name+".mp4"
5+
try:
6+
print("Downloading starts...\n")
7+
urllib.request.urlretrieve(url, name)
8+
print("Download completed..!!")
9+
except Exception as e:
10+
print(e)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy