What is Web Scraping? How do you achieve it in Python?
- Web Scrapping is a way of extracting the large amounts of information which is available on the web sites and saving it onto the local machine or onto the database tables.
- In order to scrap the web:load the web page which is interesting to you.
- To load the web page, use “requests” module.
- parse HTML from the web page to find the interesting information.
- Python has few modules for scraping the web.
- They are urllib2, scrapy, pyquery, BeautifulSoap, etc.
No comments:
Post a Comment