# qqzone_zan_shuoshuo
**Repository Path**: WangZhenCoder/qqzone_zan_shuoshuo
## Basic Information
- **Project Name**: qqzone_zan_shuoshuo
- **Description**: qq空间自动赞说说脚本 直接开源不啰嗦 非api版
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 3
- **Forks**: 0
- **Created**: 2021-08-16
- **Last Updated**: 2022-10-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 项目介绍
QQ空间说说自动点赞 (本项目是selenium版,后期出Api版)
windows和linux系统都可以,老王用的云服务器24小时跑的
就这
后台运行命令:nohup python -u Main.py > 1.log 2>&1 &
退出终端使用命令:exit
效果图:

## 技术介绍
1. python
2. selenium
## 环境安装
### windows
##### 环境安装
1. python 3.9.5
下载地址 https://www.python.org/ftp/python/3.9.5/python-3.9.5-amd64.exe
具体安装教程参考:https://zhuanlan.zhihu.com/p/111168324?from_voters_page=true
2. chrome
浏览器安装
自行百度
3. selenium
下载你的chrome浏览器版本对应的驱动
下载地址:https://chromedriver.storage.googleapis.com/index.html
查看你的浏览器版本

下载文件chromedriver_win32.zip即可。即使电脑是64位也没有关系,因为你安装的谷歌是32位的
解压之后,将chromedriver.exe放到谷歌浏览器的安装目录中:在开始菜单中,找到谷歌浏览器,然后右键“打开文件位置”,我的是C:\Program Files (x86)\Google\Chrome\Application
将谷歌浏览器的安装目录,添加到系统环境变量path中。
python selenium_test.py执行代码进行测试
##### 包安装
```
$ pip install requests
$ pip install pillow
$ pip install urllib3
$ pip install selenium
```
### linux
##### 安装环境
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
```
# 安装chrome
# 先下载至本地,然后安装
$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
$ yum install ./google-chrome-stable_current_x86_64.rpm
# 安装必要的库
$ yum install mesa-libOSMesa-devel gnu-free-sans-fonts wqy-zenhei-fonts
# 安装chromedriver
$ wget http://npm.taobao.org/mirrors/chromedriver/2.41/chromedriver_linux64.zip
$ unzip chromedriver_linux64.zip
$ mv chromedriver /usr/bin/
$ chmod +x /usr/bin/chromedriver
```
##### 包安装
```
$ pip install requests
$ pip install Pillow
$ pip install urllib3
$ pip install chrome
$ pip install selenium
```
## 使用教程
```
# 请先配置np.txt 第一行为账号,第二行为密码
# 程序按照以下逻辑登录
# 1. 账号密码登录
# 2. 滑动验证码破解
# 3. 手机密保验证码破解
# 4. 扫码登录(理论上100%可登录成功,可破除异常网络环境等异常)(上述登录不成功的前提下才会启动)
# 5. 登录成功,转到主程序进行间隔30秒的轮询点赞
每次轮询或获取12个列表(有时候会只有8个),已点赞的将不再点赞,没点赞的进行点赞
$ python Main.py
# 扫码登录查看扫码二维码
# 程序保存二维码到 code.png / code_screen.png
# 扫码其中一个就可以登录
```
使用过程截图


项目地址:https://gitee.com/WangZhenCoder/qqzone_zan_shuoshuo
- 2021.8.16日完成编辑