Skip to content

Commit b8e7d35

Browse files
authored
Add files via upload
1 parent b300792 commit b8e7d35

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

downloader.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,60 @@
22

33
print(" ")
44
print(" ")
5-
print("Salam!")
5+
print("Hi!")
66
print(" ")
77
print(" ")
8-
print("Be Download File Khosh Amadid!")
8+
print("Welcome To The File Downloader!")
99
print(" ")
1010
print(" ")
11-
print("Momken Ast Nesbat Be Sorat Internet Kami Tol Bekeshad!")
11+
print("Depending on your internet speed, it may take some time to download")
1212
print(" ")
1313
print(" ")
14-
url = input("Lotfan Link File Ra Vared Farmaiid--------->")
14+
url = input("Please Insert Link--------->")
1515
print(" ")
1616
print(" ")
17-
name = input("Be Che Esmi Mikhaid File Ra Zakhire Konid?--------->")
17+
name = input("What name do you want to save your file?--------->")
1818
print(" ")
1919
print(" ")
20-
print("Format File! baraye mesal baraye video=mp4|music=mp3|aks=png|file feshorde=zip| va ya formati ke mikhavahid va ya format khod file")
20+
print("To see various formats, please search it on Google")
2121
print(" ")
2222
print(" ")
2323
print(" ")
24-
print("Mitavanid ba Search Dar Net Anva Format Ha Ra Bebinid!")
24+
print("")
25+
print("Enjoy downloading")
2526
print(" ")
2627
print(" ")
27-
print(" ")
28-
format = input("Lotfan Format File Ra Vared Namaiid--------->")
28+
format = input("Please Insert File Format--------->")
2929
f1 = "."
3030
print(" ")
3131
print(" ")
32-
print("Lotfan Sabr Namaiid Momken Ast Tool Bekeshad!")
32+
print("Please wait, it may take a while")
3333
print(" ")
3434
print(" ")
3535
page = requests.get(url)
36-
print("200=dar Hal Download | 404=Etesal Namovafag")
36+
print("200=Downloading | 404=Download Faild")
3737
print(" ")
38-
print("vaziat file:",page.status_code)
38+
print("File Status:",page.status_code)
3939

4040
r = requests.get(url)
4141
with open(name+f1+format,"wb") as code:
4242
code.write(r.content)
4343
print(" ")
4444
print(" ")
45-
print("95% Download Shod")
46-
print("96% Download Shod")
47-
print("97% Download Shod")
48-
print("98% Download Shod")
49-
print("99% Download Shod")
50-
print("100% Download Shod")
51-
print("Download shod!")
45+
print("95% Downloaded")
46+
print("96% Downloaded")
47+
print("97% Downloaded")
48+
print("98% Downloaded")
49+
print("99% Downloaded")
50+
print("100% Downloaded")
51+
print("Downloaded successfully")
5252
print(" ")
5353
print(" ")
54-
print("Dar Hal Zakhire Sazi.")
55-
print("Dar Hal Zakhire Sazi..")
56-
print("Dar Hal Zakhire Sazi...")
57-
print("Zakhire Shod!")
54+
print("Saving.")
55+
print("Saving..")
56+
print("Saving...")
57+
print("Saved!")
5858
print(" ")
59-
print("Baraye Baste Shodan Barname Enter Bezanid.")
59+
print("please use Enter Key to close app!")
6060

6161
k=input()

0 commit comments

Comments
 (0)