-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.py
More file actions
47 lines (42 loc) · 1.23 KB
/
script.py
File metadata and controls
47 lines (42 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import os
os.system('clear')
from support import runcmd
try:
import pyfiglet
except:
os.system('pip install pyfiglet')
import pyfiglet
R = "\033[1;31m"
G = "\033[1;32m"
B = "\033[0;94m"
Y = "\033[1;33m"
fig = pyfiglet.figlet_format("CodeAx1")
print(B+fig)
print(G+'''
[ Website clone make Easy ]
Coded By CodeAx1
_________________________________________________''')
print(B+" CodeAx1 ")
print()
print()
while True:
websitename = input(R+"Enter Website Name: ")
try:
print('Your Given Website is : '+websitename)
webreal = input('Press Yes or No: ')
if webreal.lower() == 'yes':
print("Hey We Are Cloning Your Given Website")
print(G+"Please wait 10sec...")
runcmd("wget --random-wait -r -p robots=off -U mozilla "+websitename,verbose = True)
print()
print('We Have Finally Cloned And Saved a copy on this folder :')
print('Successfully Exit')
print()
print()
print(Y+' For Quitting Press CLTR + C')
else:
print('Okay We Are Running Again')
break
except:
print(B'Something went Wrong...')
print(B'Contact CodeAx1...on instagram')