农夫山泉金虎水每日只做任务不抽奖
只要是让你充钱的100%都是骗子,切记不要充1分钱!
勉强支持多账号有多少个账号就改user_id。没的建议删掉多余的.不删我也不知道会不会报错...不会其他多账号写法...瞎折腾成这样的....
助力任务已经重新上线了...但是好像需要真实的user_id...账号少的可能用不了助力任务...
食用方法:改下面的user_id=WXXXXXXXXXXXX1600711680
增加了push通知...我没用...可以试试...我是放ql用ql通知的...push通知修改这个里面内容:tztoken=''
通知只通知助力任务结果里面有没金虎水...其他没通知
对了,抽奖次数做任务的可以一直累计到2月28日,每天赠送的不会累计。
没抽奖功能...主要抽奖功能太快过期了...
自己主要放ql定时做任务,云函数不知道支持不支持...import requests
from time import sleep
import json
import datetime
import re
from difflib import *
import random
import os
import configparser
try:
from notify import send
except:
print("无推送文件")
#------------------------------农夫任务----------------------
requests.packages.urllib3.disable_warnings()
tztoken=''#http://pushplus.hxtrip.com/获取通知token,仅用户通知助力结果中是不是含有金虎水,我没用过...没通知了可能是结果里面没金虎水或者我也不知道干嘛了...
wxid={'b':['user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680',
'user_id=WXXXXXXXXXXXX1600711680']}
qdurl='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/usersign'
fwurl='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/userviewshop'
gkurl='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/userviewvideo'
zlurl1='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/specialuserassistance'
zlurl2='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/completeassistancetask'
rwhea={"Host":"nongfuwaterpro.kifa.site","Connection":"keep-alive","Content-Length":"48","content-type":"application/x-www-form-urlencoded","unique_identity":"95bfa1bc-e0c3-4e14-878c-eacae997b863","actcode":"ACT39912445427025182721600711680","Accept-Encoding":"gzip,compress,br,deflate","User-Agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.16(0x1800103f) NetType/WIFI Language/zh_CN","Referer":"https://servicewechat.com/wxd79ec05386a78727/43/page-frame.html"}
cs=0
while True:
try:
yhs=wxid['b'][cs]
cs=cs+1
except:
print("共有用户:"+str(cs))
break
continue
kscs=0
zlcs=0
while True:
try:
try:
zldata1=wxid['b'][kscs]+'&assistance_'+wxid['b'][zlcs+1]
except:
zldata1=wxid['b'][kscs]+'&assistance_'+wxid['b'][1]
try:
zldata2=wxid['b'][kscs]+'&assistance_'+wxid['b'][zlcs+2]
except:
zldata2=wxid['b'][kscs]+'&assistance_'+wxid['b'][0]
zl1 = requests.post(headers=rwhea,url=zlurl1,data=zldata1,verify=False,timeout=3).json()
sleep(6)
zl2 = requests.post(headers=rwhea,url=zlurl1,data=zldata2,verify=False,timeout=3).json()
sleep(6)
print("用户:"+str(kscs+1)+"的助力结果\n"+str(zl1)+"\n"+str(zl2)+"\n")
kscs=kscs+1
zlcs=zlcs+1
except:
print("助力任务运行结束")
break
continue
kscs=0
while kscs < cs:
qd = requests.post(headers=rwhea,url=qdurl,data=wxid['b'][kscs],verify=False,timeout=3).json()
print("第"+str(kscs+1)+"个用户签到结果:"+str(qd)+"\n")
sleep(2)
fw = requests.post(headers=rwhea,url=fwurl,data=wxid['b'][kscs],verify=False,timeout=3).json()
print("第"+str(kscs+1)+"个用户访问商城结果:"+str(fw)+"\n")
sleep(2)
gkdata='url=https%3A%2F%2Fcdn.geement.com%2Fsfiles%2FNongFu%2FJinHuWater%2Fvideo.mov&'+wxid['b'][kscs]
gk = requests.post(headers=rwhea,url=gkurl,data=gkdata,verify=False,timeout=3).json()
print("第"+str(kscs+1)+"个用户观看视频结果:"+str(gk)+"\n")
sleep(2)
zl3 = requests.post(headers=rwhea,url=zlurl2,data=wxid['b'][kscs],verify=False,timeout=3).json()
print("第"+str(kscs+1)+"个用户助力领取结果:"+str(zl3)+"\n")
sleep(2)
zlurl3='https://nongfuwaterpro.kifa.site/api/v1/goldtiger/assistancewinlogs?'+wxid['b'][kscs]
zl4 = requests.get(url=zlurl3,timeout=3).json()
haojieguo='金虎水'
zljg=str(zl4)
zljg2=haojieguo in zljg
if zljg2 == True:
print("第"+str(kscs+1)+"个用户可能中了金虎水")
try:
tzurl='http://pushplus.hxtrip.com/send'
data={'token':tztoken,'title':'农夫任务','content':'助力结果有金虎水,请留意!','template':'html'}
headers={
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Html5Plus/1.0",
'Content-Type': 'application/json'}
tz=requests.post(headers=headers,url=tzurl,data=json.dumps(data))
except:
print("通知token不正确或我也不知道没用过这个推送反正就是出错了没通知...")
try:
send("第"+str(kscs+1)+"个用户助力结果中有金虎水","自行查看")
except:
print("无推送文件")
else:
print("第"+str(kscs+1)+"个用户助力结果中无金虎水"+"\n")
kscs=kscs+1
continue
print("任务运行结束")
下一篇:WX红包皮
相关内容
- 2025-01-28pdd做任务快速得减减卡 选购物任务-跳转后选个0.几的即可给20张
- 2024-12-29gh 任务中心-一岁一礼-立减金活动
- 2024-12-27gh 任务中心-浏览普惠版-立减金
- 2024-12-25gh 任务中心-下拉体验保-险栏目-抽立减金
- 2024-12-25gh 任务中心-享活动-财富星期三活动-抽立减金
- 2024-12-25gh 任务中心-买过积存金的-有抽奖
- 2024-12-242个任务1元和10立减金好用分享
- 2024-12-24gh 任务中心-享活动-幸福相伴更新了-可以抽立减金
- 2024-12-20gh 任务中心享活动-冬至节气礼-抽立减金
- 2024-12-19gh 任务中心-任务中心享生活-象聚周四有抽奖