Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python link shortener

'''
Install pyshorteners for URL Shortner by python project by via the following command:
pip install pyshorteners
'''

import pyshorteners

link = input("")
shorteners = pyshorteners.Shortener()
shortlink = shorteners.tinyurl.short(link)
print(shortlink)
 
PREVIOUS NEXT
Tagged: #python #link #shortener
ADD COMMENT
Topic
Name
5+8 =