Skip to content

Commit f4ca37a

Browse files
committed
Updated README.md
1 parent ddcaa8c commit f4ca37a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

APIScripts/URLShortener API/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,24 @@ URL shortening is a technique on the World Wide Web in which a URL may be made s
1010

1111
This is achieved by using a redirect which links to the web page that has a long URL.
1212
In this program the long URL is taken as input and is shortened by using tinyurl API.
13-
# In make_tiny(url) function encoding of url and appending it to API is done and then we open request_url using urlopen. Then we convert the response to UTF-8, since urlopen() returns a stream of bytes rather than a string.
13+
In make_tiny(url) function encoding of url and appending it to API is done and then we open request_url using urlopen. Then we convert the response to UTF-8, since urlopen() returns a stream of bytes rather than a string.
1414

1515

1616
## Library imported :
1717

18-
__future__ ~ is a pseudo-module which programmers can use to enable new language features which are not compatible with the current interpreter.
19-
contextlib ~ defines ContextManager class whose object properly manages the resources within a program. The file object supports ContextManager API.
20-
urlib ~ It is a package that collects several modules for working with URLs
21-
sys ~ provides various functions and variables that are used to manipulate different parts of the Python runtime environment.
18+
__future__ ~ is a pseudo-module which programmers can use to enable new language features which are not compatible with the current interpreter.
19+
contextlib ~ defines ContextManager class whose object properly manages the resources within a program. The file object supports ContextManager API.
20+
urlib ~ It is a package that collects several modules for working with URLs.
21+
sys ~ provides various functions and variables that are used to manipulate different parts of the Python runtime environment.
2222

2323

2424
## Output :
2525
Output Screenshot:
2626
![Output Image](Images/output_ss.png)
2727

2828
Short URL website Screenshot:
29-
![Website Image](Images/short_ss.png)
29+
![URL Image](Images/short_ss.png)
30+
![Website Image](Images/urlopened_ss.png)
3031

3132

3233
## Author : Shaik Imranuddin

0 commit comments

Comments
 (0)