Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

link shortener

## run pip install pyshorteners in terminal first

import pyshorteners
link_input  = input('What link would you like to shorten?
')
link = link_input
shortener = pyshorteners.Shortener()
url = shortener.tinyurl.short(link)
print(url)
 
PREVIOUS NEXT
Tagged: #link #shortener
ADD COMMENT
Topic
Name
3+2 =