[scraping] 스크래핑 해커뉴스 24 hour top hacker news
Top Stories of Hacker News in last 24 hours!
run.sh for a sample bash script
Change the path to
Now add a cron task as follows:
- Open terminal and type
- Append the following line into the opened file:
*/15 * * * * <path to run.sh>
- 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.
You can look over to tshn.sushant-hiray.me for the latest top stories.
2,834 total views, 2 views today