Usage: using this script you can get customized Hacker news, which has got more than 100 votes; with the help of web scraping.
To scrape information from web pages -
Beautifulsoup4To send HTTP requests easily -
RequestsTo pretty-print data -
pprint
Data scraping isn't allowed on all websites, so double check with the
robots.txton any website. Try it out nowDon't prefer web scraping at the first place, Rather make of use of
API'swhich are provided by websites. For example, we can perform the same task using HackerNews APIIf there isn't any API for a given website, then prefer going for web scraping in a ethical way.
