Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nekocode/github_email_crawler
A tool for crawling emails from github.com.
https://github.com/nekocode/github_email_crawler
tool
Last synced: 4 months ago
JSON representation
A tool for crawling emails from github.com.
- Host: GitHub
- URL: https://github.com/nekocode/github_email_crawler
- Owner: nekocode
- License: apache-2.0
- Created: 2019-04-18T08:09:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T16:12:50.000Z (almost 3 years ago)
- Last Synced: 2023-03-02T19:55:51.682Z (almost 2 years ago)
- Topics: tool
- Language: TypeScript
- Homepage:
- Size: 41 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
这是一个使用 Node.js、RxJS 以及 TypeScript 语言实现的 GitHub 邮箱爬虫,它可以爬取指定用户所有 Follower 的邮箱。它使用了 RxJS 来提高程式的稳定性:
* 使用 Rx 操作符进行容错处理;
* 对全局请求了进行频率控制。使用方法:更新 [config.ts](src/config.ts) 里的配置,
```
// 你在 GitHub 网站的 Cookie
const COOKIE: string[] = [
'',
];// 要爬取 Follower 邮箱的指定用户
const TARGET_USERS: string[] = [
'',
]
```然后执行 `yarn start` 即可。