github-emails: 一款用于获取关注者公开Email的工具

应用场景

获取某个库的star用户,并存储起来,通过GitHub 的开发者API可以分析出该用户的潜在价值。

某些专注于推广的企业获取会使用到这个库

GitHub Repo:github-emails

欢迎大家点击进行关注,大家的鼓励是我前进最大的动力。

Quick Start

the example below: wechaty is the owner, python-wechaty is the name of repo
github: https://www.github.com/wechaty/python-wechaty

  • 安装
pip install github-emails
  • 使用脚本来获取
from github_emails import GithubApi
github = GithubApi(token='')
stargazers = github.stargazers('wechaty', 'python-wechaty')
for stargazer in stargazers:
    github.emails(stargazer)

And you will find that your final email info is stored in .github_info/user-email.txt file.

  • 使用命令行来获取
github-emails --owner=wechaty --repo=python-wechaty --token=your-token

总结

这个小工具是我在实际学习工作当中使用到的,非常欢迎大家来使用和吐槽该工具。

posted @ 2020-12-09 15:54  m-cat  阅读(359)  评论(0)    收藏  举报