Skip to content

Latest commit

 

History

History
 
 

url_shortener

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

url shortener

This is a simple code which converts a long url to a shortened tinyurl version using pyshortener library in Python.

The library can be installed using: pip install pyshorteners

In the given code , this url was input:

https://github.com/its-harshil/Hacktoberfest_2020

and the output recieved was: http://tinyurl.com/yxavynlz

Click the url to test it.

Also to know more about the library check its documentation, it has the many helpful features https://pyshorteners.readthedocs.io/en/latest/