Urlib is one of the packages of python which is used for scraping the websites means getting data of the website. Other than urlib, there is one more package named request which is most widely used than Urlib package. In this blog, will look at basic functions and functionality associated with this package. In the upcoming blog, we will look at how to do web scraping using BeautifulSoup and request package.
Let’s get started.
In URL there are two types of Protocol Identifier -:
- HTTP: HyperText Transfer Protocol.
- https: Hyper Text Transfer Protocol Secure. It is safer than HTTP. This keeps your information safe from hackers.