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.
- Python 3.x
- Beautiful Soup 4
- Requests
-
Clone this repository to your local machine:
git clone https://github.com/your-username/HackerNewsWebScraper.git
-
Navigate to the project directory:
cd HackerNewsWebScraper
-
Install the required dependencies using pip:
pip install beautifulsoup4 requests
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