This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// watcher.js | |
// 每秒抓取 https://developers.binance.com/docs/derivatives/change-log | |
// 发现正文变化则把“新增/变更的行”发到 Telegram | |
import fs from 'fs'; | |
import path from 'path'; | |
import process from 'process'; | |
import dotenv from 'dotenv'; | |
import cheerio from 'cheerio'; |