[scraping] 스크래핑 해커뉴스 24 hour top hacker news

[scraping] 스크래핑 해커뉴스 24 hour top hacker news

https://github.com/sushant-hiray/tshn

https://github.com/sushant-hiray/tshn

tshn-master.zip

tshn-master.zip

tshn

Top Stories of Hacker News in last 24 hours!

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 tshn.sushant-hiray.me for the latest top stories.

Loading

Updated: 2016년 8월 31일 — 11:55 오전

댓글 남기기

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.