Skip to content

✨ Hacker News Scraper ✨ A scraper to save a list of popular news articles to a CSV.

Notifications You must be signed in to change notification settings

rheannemcintosh/hacker-news-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News Scraper 📰

Project Overview

This application scrapes the first ten pages of the Hacker News site, and saves a list of news articles with over 100 upvotes to a data frame and creates a new csv. This is developed using Python, and makes use of Beautiful Soup and Pandas.

Inspiration

The original application was inspired by a tutorial within the Zero to Mastery: Complete Python Developer in 2022 course.

Customising the Application

This has now been expanded to get data from 10 pages, saves this information to a data frame and creates a new csv.

Repository Checklist

  • Upload Code
  • Format Code
  • Update Repository
  • Update README
  • Create Future Ideas
  • Write Application Setup / Commands
  • Launch Website
  • Create Card on Portfolio
  • Create Page on Portfolio
  • Archive Repository

Future Ideas

💡 Display this information on a web page or on my portfolio.

Notes

Application Setup / Commands

  1. Run the following command:
python3 server.py
  1. An up-to-date csv should appear in the news_csvs folder with todays date

If you have any questions or can suggest any improvements, please let me know!

About

✨ Hacker News Scraper ✨ A scraper to save a list of popular news articles to a CSV.

Topics

Resources

Stars

Watchers

Forks

Languages