Hacker News Top Sites Scraper avatar

Hacker News Top Sites Scraper

Try for free

1 day trial then $5.00/month - No credit card required now

View all Actors
Hacker News Top Sites Scraper

Hacker News Top Sites Scraper

fearless_sharpener/hacker-news-top-sites-scraper
Try for free

1 day trial then $5.00/month - No credit card required now

Unlock even more valuable insights from the popular news website, Hacker News. Our updated Top Sites Scraper extracts titles, scores, links and more, all in one easy-to-use Apify actor. With this powerful tool, you can gather comprehensive data from Hacker News and gain a competitive edge.

Hacker News Top Sites Scraper

Unlock even more valuable insights from the popular news website, Hacker News. Our updated Top Sites Scraper extracts not only titles, scores, and links, but also ranks, age titles, authors, and comment counts, all in one easy-to-use Apify actor. With this powerful tool, you can gather comprehensive data from Hacker News and gain a competitive edge in your industry.

Output

The output of this actor is a JSON object containing an array of news items, where each news item has the following properties:

  • title: The title of the news item.
  • score: The score of the news item.
  • link: The link to the news item.
  • rank: The rank of the news item on the Hacker News website.
  • ageTitle: The date of the news item in a human-readable format.
  • author: The username of the person who submitted the news item.
  • numberOfComments: The number of comments on the news item.

Example output:

1{
2    "items": [
3        {
4            "title": "Example News Article",
5            "score": "999",
6            "link": "https://example.com/news/article",
7            "rank": "1",
8            "ageTitle": "1 hour ago",
9            "author": "example_user",
10            "numberOfComments": "42"
11        },
12        {
13            "title": "Another News Article",
14            "score": "888",
15            "link": "https://example.com/news/another-article",
16            "rank": "2",
17            "ageTitle": "2 hours ago",
18            "author": "another_user",
19            "numberOfComments": "23"
20        }
21    ]
22}

Usage

To use this actor, you will need an Apify account. Simply create a new task with this actor as the source, set any desired input options, and run the task. The output will be saved to the default dataset associated with the task.

## Notes This actor scrapes data from a third-party website, which may be subject to changes or downtime. Please check the terms of service for Hacker News before using this actor for any commercial or production purposes.

Developer
Maintained by Community

Actor Metrics

  • 1 monthly user

  • 2 stars

  • >99% runs succeeded

  • Created in May 2023

  • Modified 7 months ago

Categories