WEB SCRAPING WITH BEAUTIFUL SOUP
Simple web scraping using python and beautiful soup
First of all we just need to know html tags and their functions in order to scrape from websites .Secondary thing is to know basics of python an importantly beautiful soup to get the contents from a website.
DOWNLOADING BEAUTIFUL SOUP :
pip install beautifulsoup4
In a website for instance, Flipkart press ctrl+shift+i to inspect the tags .For further information on tags refer link.
To print the title in the Flipkart main page:
To get all the links from the site ,we get the link from <href> tag .<href> tags are present inside <a> tags.
how to save it in an excel sheet
I have done web scraping for anna university site and getting all the sub links and downloading all the pdf present inside in google-colab