Skip to content

This Python web scraper extracts HackerNews articles with over 99 votes, retrieving their titles, links, and vote counts.

Notifications You must be signed in to change notification settings

A-P-Kaviraj/HackerNewsWebScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

HackerNews Web Scraper

This is a simple web scraper built in Python to scrape news articles from HackerNews based on the number of votes, filtering those with a vote count higher than 99. It fetches the news title, link, and the number of votes for each article meeting the criteria.

Requirements

  • Python 3.x
  • Beautiful Soup 4
  • Requests

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/HackerNewsWebScraper.git
  2. Navigate to the project directory:

    cd HackerNewsWebScraper
  3. Install the required dependencies using pip:

    pip install beautifulsoup4 requests

Usage

To use the scraper, simply run the hackernews_scraper.py script. It will scrape HackerNews for articles with votes higher than 99 and print out their titles, links, and vote counts.

  python scrape.py

About

This Python web scraper extracts HackerNews articles with over 99 votes, retrieving their titles, links, and vote counts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages