WnCC

EventsEntire Event Archive

Community HacksDisplay board of hacks

CompetitionsUpcoming,Ongoing and Archived Competitions

Resource CenterResources to learn interesting stuff

AboutAbout the community

Project Info


Follow Us On

GitHubIf social coding is your thing

Google GroupsIf you're from IITB

FBIf you want to follow interesting topics!

TSHN ~ Top Stories of Hacker News in last 24 hours


TSHN scrapes the first page of Hacker News and generates a new page containing the top stories from the past 24 hours sorted in descending order by overall points.

Instructions

Checkout run.sh for a sample bash script

Change the path to scrape.py

Now add a cron task as follows:

  1. Open terminal and type crontab -e
  2. Append the following line into the opened file: */15 * * * * <path to run.sh>
  3. Once the cron task is set right, the script will scrape front page of HN every 15 minutes and update the top stories data accordingly.

Demo

You can look over to wncc-tshn for the latest top stories.

Built with love by:

Sushant Hiray