Url Shortener New
Url Shortener New
Url Shortener New
SHORTENER
21N31A04M1
21N31A04Q2
21N31A04P7
21N31A04Q4
21N31A04P1
Mrs.V.Bala
assist professor
ABSTRACT
URL shortening is a technique on the in which a Uniform Resource Locator (URL) may be made substantially
shorter and still direct to the required page.An URL shortener is a website that reduces the length of your
URL.The idea is to minimize the web page address into something that’s easier to remember and track. A url
Shortener Service creates a short url against a long url.When user click on tiny url, He gets redirected to
original url. Tiny url are exceedingly handy to share through sms and tweets .There are multiple API’s available
for URL shortening service , we will be using tinyurl API to shorten URLs..An URL shortener ensures that you
get the right messages out to your audience without taking up too much space in your matter. A friendly
URL may be desired for messaging technologies that limit the number of characters in a message (for example
SMS), for reducing the amount of typing required if the reader is copying a URL from a print source, for making
it easier for a person to remember.
INTRODUCTION TO URL
A Uniform Resource Locator, colloquially termed a web address, is a reference to a web resource
that specifies its location on a computer network and a mechanism for retrieving it. A URL is a
specific type of Uniform Resource Identifier, although many people use the two terms
interchangeably. Maximum length of url is 2048 characters
It is very difficult to remember the long url to shorten the url we use pyshorteners
PYSHORTENERS
Pyshorteners is a Python lib to help you short and expand URLs using the most
famous URL Shorteners available. With the help of pyshorteners , you can
generate a short URL or expand another one which is as easy as typing
To install pyshorteners open your terminal and run the following command PIP
INSTALL PYSHORTENERS
Now we have the package,that we are ready to import it in our python script
TinyURL is a URL shortening web service, which provides short aliases for redirection. TinyURL offers an
API which allows applications to automatically create short URLs.
If we change the tiny url name it will shows some error.