Skip to content

Bot helps to parse some keyword on PTT.co, and then an email to users

License

Notifications You must be signed in to change notification settings

calmelated/ptt-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptt-bot

A robot helps to parse some keyword on PTT.cc, and then sends an email to your target users.

Setup & Usage

  • git clone this project to your linux machine
  • npm install to install the required node.js modules
  • Edit the file ptt.js
  • Fill in your parsing rules
  • Fill in your SMTP server address and authenication information
  • Run the code node ptt.js
user@server:~/ptt-bot$ node ptt.js 
Keyword=板規, Link=https://www.ptt.cc/bbs/job/M.1297170305.A.D86.html, Title=[公告] 2017年1/12增修板規  罰則修訂
...
...

My test environment

  • Ubuntu 16.04
  • Node.js 7.x (needs async/awit support)

About

Bot helps to parse some keyword on PTT.co, and then an email to users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages