Skip to content

A simple webscraper using Beautiful Soup that pulls the title, author, and number of votes for the front page of Hacker News.

Notifications You must be signed in to change notification settings

janetanne/hackernews-webscraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hackernews-webscraper 📝

A simple webscraper using Beautiful Soup that pulls the top stories from Hacker News. It prints a list of Story objects that contains the title, author, and score for each story.

This utilizes BeautifulSoup!

Table of Contents 📑

Built with 💻

  • BeautifulSoup

Getting Started 🛠

Requirements:

  • Python 3+
  • Requests
  • BeautifulSoup

To run this app on your local computer, please follow the below steps:

Clone repository.

$ git clone https://github.com/janetanne/hackernews-webscraper.git

Create and activate a virtual environment.

$ python -m venv .env
$ source .env/bin/activate

Install the dependencies:

$ pip install -r requirements.txt

Run the program.

$ python index.py

About

A simple webscraper using Beautiful Soup that pulls the title, author, and number of votes for the front page of Hacker News.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages