8000 GitHub - pretty66/ym: python自动发帖,游民星空 · GitHub
[go: up one dir, main page]

Skip to content
{"props":{"color_mode":"dark","logged_in":false,"marketing_page":false,"home_path":"/","login_path":"/login?return_to=https%3A%2F%2FGitHub.com%2Fpretty66%2Fym","signup_path":"/signup?ref_cta=Sign+up\u0026ref_loc=header+logged+out\u0026ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E\u0026source=header-repo\u0026source_repo=pretty66%2Fym","signup_enabled":true,"is_signup_controller":false,"show_search_and_nav":true,"hide_search":false,"private_mode_enabled":false,"should_use_dotcom_links":true,"auth_hydro_click":"{\"event_type\":\"authentication.click\",\"payload\":{\"location_in_page\":\"site header menu\",\"repository_id\":null,\"auth_type\":\"SIGN_UP\",\"originating_url\":\"https://GitHub.com/pretty66/ym\",\"user_id\":null}}","auth_hydro_click_hmac":"5cabda4f89324feb69e28fe52d501f6a4692601508a88f0451ebb55d31346220"}}
pretty66Public

About

python自动发帖,游民星空

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

python 自动发帖

代码仅供学习使用,请勿乱搞。。

配置

首先去官网注册账号  [注册地址](http://i.gamersky.com)
配置文件中填写注册的账号密码;
本地要安装redis服务
[user]
userName =
password =

[url]
loginUrl = http://i.gamersky.com/user/login
userHome = http://i.gamersky.com/home/
userInfo = http://i.gamersky.com/api/logincheck
addComment = http://cm.gamersky.com/api/addcommnet
getNewsList = http://db2.gamersky.com/LabelJsonpAjax.aspx

[redis]
host = 127.0.0.1
port = 6399
password=
db = 3

[send]
# 本次要发
5750
送成功的条数
newsNum = 1
# 是否跳过曾经发送过评论的帖子
isDistinct = 1
# 记录发送url缓存key名称
successKey = success_key
# 要发送的内容
content = 右边的小手很好玩,点一下变色,再点一下又变色;特别有意思。。
# 延迟发送时间
sleepSend = 20

三方包列表

    redis,requests

运行

python3 app.py

About

python自动发帖,游民星空

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0