Rat's Blog

AutoScript: Hostloc论坛自动踢楼脚本

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

介绍

一些自动化脚本,让机器代替人做一些 "fucking things"。
目前仅有hostloc:自动踢楼脚本(for www.hostloc.com)。
C大经常开金盾, So浏览器渲染;由于hostloc服务器老是502, 或由于 "网络的不确定性",So踢中为止。

使用

项目地址:https://github.com/popppp1/AutoScript
1、准备工作
for Centos

sudo yum -y install epel-release
sudo yum -y install python-pip
sudo yum clean all
sudo pip install lxml
sudo pip install selenium

for Ubuntu/Debian

sudo apt-get -y install python-pip
sudo apt-get install libfontconfig
sudo pip install lxml
sudo pip install selenium

2、运行脚本

wget --no-check-certificate https://raw.githubusercontent.com/popppp1/AutoScript/master/hostloc/hostloc.py
python hostloc.py 踢楼地址 踢楼楼层 踢楼口号 账户 密码