forked from Mr-TechX/TechX_URL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcut.py
53 lines (41 loc) · 1.99 KB
/
cut.py
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
48
49
50
51
52
53
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
# AUTHOR : MrTechX | ToolsX | UlisesCamacho
# PROJECT : URL Shortener with Python
# VERSION : 1.5.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++
import time
import pyshorteners
import os
from colorama import Fore,Back,Style
def clearConsole():
command = 'clear'
if os.name in ('nt', 'dos'):
command = 'cls'
os.system(command)
clearConsole()
print(Fore.LIGHTRED_EX+'''
/$$$$$$$$ /$$ /$$ /$$ /$$ /$$ /$$$$$$$ /$$
|__ $$__/ | $$ | $$ / $$ | $$ | $$| $$__ $$| $$
| $$ /$$$$$$ /$$$$$$$| $$$$$$$ | $$/ $$/ | $$ | $$| $$ \ $$| $$
| $$ /$$__ $$ /$$_____/| $$__ $$ \ $$$$/ | $$ | $$| $$$$$$$/| $$
| $$| $$$$$$$$| $$ | $$ \ $$ >$$ $$ | $$ | $$| $$__ $$| $$
| $$| $$_____/| $$ | $$ | $$ /$$/\ $$ | $$ | $$| $$ \ $$| $$
| $$| $$$$$$$| $$$$$$$| $$ | $$| $$ \ $$ | $$$$$$/| $$ | $$| $$$$$$$$
|__/ \_______/ \_______/|__/ |__/|__/ |__/ \______/ |__/ |__/|________/
''')
url = input(Fore.LIGHTGREEN_EX+"💀 Ingresa tu link => "+Fore.LIGHTRED_EX)
shrt = pyshorteners.Shortener()
nurl = shrt.tinyurl.short(url)
print(Fore.LIGHTGREEN_EX+"🔥 Toma tu nuevo link => " +Fore.LIGHTBLUE_EX+nurl)
time.sleep(4)
print(Fore.LIGHTMAGENTA_EX+'''
coded by: MrTechX | ToolsX | UlisesCamacho
/$$ /$$ /$$$$$$$$ /$$ /$$ /$$
| $$$ /$$$ |__ $$__/ | $$ | $$ / $$
| $$$$ /$$$$ /$$$$$$ | $$ /$$$$$$ /$$$$$$$| $$$$$$$ | $$/ $$/
| $$ $$/$$ $$ /$$__ $$| $$ /$$__ $$ /$$_____/| $$__ $$ \ $$$$/
| $$ $$$| $$| $$ \__/| $$| $$$$$$$$| $$ | $$ \ $$ >$$ $$
| $$\ $ | $$| $$ | $$| $$_____/| $$ | $$ | $$ /$$/\ $$
| $$ \/ | $$| $$ | $$| $$$$$$$| $$$$$$$| $$ | $$| $$ \ $$
|__/ |__/|__/ |__/ \_______/ \_______/|__/ |__/|__/ |__/
''' )