Skip to content

This program scrapes the hacker news website and returns a list of only article title, article link and number of upvotes it got; for all articles on the first 2 pages that got more than 100 upvotes.

Notifications You must be signed in to change notification settings

Yego99/Hacker-News-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Hacker-News-scraper

For this project I used the Request module to download the website’s HTML. Then using Beautiful Soup I parsed the HTML to grab just the components I wanted. With these tools I was able to make a web-scraper that scrapes the first 2 pages of the news website Hacker news and grabs the headlines, links, and number of votes for all articles that have over 100 votes.

To use this code

  • Download beautiful soup 4
  • Run the code from the command prompt

About

This program scrapes the hacker news website and returns a list of only article title, article link and number of upvotes it got; for all articles on the first 2 pages that got more than 100 upvotes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages