InClass Ex 4 Description - MadhuriGumma/Python-Programming GitHub Wiki

In in-class 4 exercise it is given that i have to collect all the headers of the page.

For this I have used requests and BeautifulSoup packages which contain in-built functions to parse the web page as html page and then we can extract data according to which part of it we want like title(h1), headers(h3 elements), body(p elements). Since the in-class is to extract the header part. I have extracted h1 and h3 elements. Below are the screenshots of my work.

The output for this is in the below screen shot:

Source code: