Skip to content

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

 
 
 

Contributors

Languages