8000 GitHub - uier/rentHouse at heroku
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

uier/rentHouse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rent House

透過自動偵查讓 591 租屋網, 讓你租房不再慢人一步 自動推 LineNotify 讓你馬上知道第一手租屋消息

Install

npm install

Configuration

  1. 打開開發人員工具

  2. 找到 network 找到 XHR

  3. 去 591 租屋網設定你想要關注的設定

  4. 抓到我們要的資料

  5. 找出 Header 中的 URL

    • URL
  6. 申請 Line Notify Token 連結

  7. 設定 .env

    LINE_NOTIFY_TOKEN =         // the line notify token whitch you apply
    TARGET_URL =                // the url whitch you get from 591
    REQUEST_FREQUENCY =         // at least 1000
    PORT =                      // 5000
    SERVICE_STATUS =            // true or false
    HEROKU_URL =                // https://<app_name>.herokuapp.com
    

    REQUEST_FREQUENCY 單位為毫秒,所以一秒就是 1000,建議不要調太低。

Run

npm run start
or
node app.js

Then ... Enjoy it !

Note

heroku 分支可以部署到 heroku 就不用自己在 local run

有問題的話請聯絡我: email: zrobin8741@gmail.com

About

591 rent house check machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%
0