Social-watcher 允许您监控Twitter和Instagram个人资料。
项目描述
Social Watcher
Social Watchers 允许您监控和记录Twitter和Instagram账户的变化。它可以通过Telegram向您发出警报。
先决条件
在您开始之前,请确保您已满足以下要求
- 互联网连接
- Python 3.7+
安装social-watcher
首先,将仓库克隆到本地并安装要求。您可以使用 pip3 install -r requirements.txt
安装要求。
然后您需要根据需要编辑 configs.json.example 并将其重命名为 configs.json。最后,您可以运行 watcher.py
度量
正在监控的度量列表。
平台 | 度量 |
---|---|
name, followers, following, biography, profile_photo, tweets, likes, birthday, website | |
name, followers, following, biography, profile_photo, posts, is_private, is_verified |
自定义配置
{
"interval": 300, # general interval time, default is 86400 (1 day)
"telegram": {
"token": "9999999999:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", # telegram bot token
"chat_id": "999999999" # telegram chat id
},
"instagram": [
{
"username": "bisguzar", # username, required
"interval": 5, # interval for this watcher as seconds
# if not defined it uses general interval
"only_if_changed": false, # not required
# if false it will report you if no changes
# default is true
"ignored_metrics": ["profile_photo"] # not required,
# it will ignore this metrics even is changed
},
{...another instagram watcher...},
{...another instagram watcher...}
],
"twitter": [
{
"username": "bugraisguzar", # username, required
"interval": 30, # interval for this watcher as seconds
# if not defined it uses general interval
"only_if_changed": false, # not required
# if false it will report you if no changes
# default is true
"ignored_metrics": ["likes"] # not required,
# it will ignore this metrics even is changed
},
{...another twitter watcher...},
{...another twitter watcher...}
]
}
为social-watcher做出贡献
要为twitter-scraper做出贡献,请按照以下步骤操作
- 分支此存储库。
- 创建一个具有清晰名称的分支:
git checkout -b <branch_name>
。 - 做出更改并将它们提交:
git commit -m '<commit_message>'
- 推送到原始分支:
git push origin <project_name>/<location>
- 创建拉取请求。
或者,请参阅GitHub关于创建拉取请求的文档。
贡献者
- @bisguzar
联系
如果您想联系我,可以通过以下方式联系我:@bugraisguzar。
许可协议
本项目使用的许可证如下:MIT。
项目详情
关闭
social-watcher-0.1.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | edfb1477c80741a22cc4fa341393278ec333038a16ba91c746af62c94de9889a |
|
MD5 | 9d0ef79097229f1e45d3f0b32dfa47dd |
|
BLAKE2b-256 | a87e793e4e54cb9140f9c4268fa041815e7125549f8abeebc3a2e7b3bc60b434 |
关闭
social_watcher-0.1.0-py2.py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | c18583b2afe3d1a2f9540d03d1a0e7c999944587d27dc7fdb61793a893af475f |
|
MD5 | 0872e3d08b8a0a7828d99780cbf5a98d |
|
BLAKE2b-256 | b823729a1ce3c2665ff332a1adcaf79b05901894d83ff916c9d80e978b1a8cbe |