联通集牛气活动py脚本,支持多个账号

原创 梦斌讲棋  2021-02-08 01:40 
在今日头条、西瓜视频、抖音和B站搜索“梦斌讲棋”,即可观看站长的象棋实战视频!

需要抓cookie,不会抓的用联通星期五的软件抓吧,巴黎人应该都有
import requests
import time

cookie1 = '填写第1个cookie'
cookie2 ='填写第2个cookie'
cookie3 ='填写第3个cookie'
#根据自己的需求增减,格式和上面一样

cookie=[cookie1,cookie2,cookie3] #如果有3个账号就像前面那样填,如果是四个前面的语句就加一个cookie4,写成cookie=[cookie1,cookie2,cookie3,cookie4],以此类推
################下面的东西不用修改#######################
num = len(cookie)
for i in range(0,num):
print('当前为第',i+1,'个账号\n',sep='')

print('一键领牛气共九个任务,任务1每天可多次做,其他任务每天只可领一次\n')
print('任务1:',end="")
res = requests.get('https://m.client.10010.com/Niujie/calf/receiveallCalf',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='')
str=res.json()
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务2:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=5755bfcb154e42e880272e382035e125')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务3:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=1fdef922d0d44b5f80d713f05d5e1d61')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务4:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=dfd540cd570547b6b3a8712b14a5019b')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务5:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=12a8bbe01093484582c104e95fdc5c10')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务6:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=6ebc3d8152cd4fdbb0ab312f81cbf2a1')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务7:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=d0b972b3546a4d1baa1bd542eff66c3d')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务8:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=05d5fb682fe7416282a96feb524f5009')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)

print('任务9:',end="")
res = requests.post('https://m.client.10010.com/Niujie/task/doTask',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='taskId=b0d5f73f3b4349beaa53714fa458df51')
str=res.json()['msg']
print(str)
print('等待2秒\n')
time.sleep(2)
###############
print('每日三次抽奖\n')
print('第一次抽奖:',end="")
res = requests.post('https://m.client.10010.com/Niujie/calf/CalfLottery',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='')
str=res.json()
print(str)
print('等待10秒')
print()
time.sleep(10)

print('第二次抽奖:',end="")
res = requests.post('https://m.client.10010.com/Niujie/calf/CalfLottery',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='')
str=res.json()
print(str)
print('等待10秒')
print()
time.sleep(10)

print('第三次抽奖:',end="")
res = requests.post('https://m.client.10010.com/Niujie/calf/CalfLottery',headers={'Content-Type': 'application/x-www-form-urlencoded','Cookie': cookie[i]}, data='')
str=res.json()
print(str)
print()
time.sleep(2)

print('当前账号任务已完成!\n')
print('---------------------分割线-----------------------')
if i==num-1:
print('所有账号任务已完成!脚本结束!')

本文地址:https://www.mfzqb.com/30718.html
关注我们:请关注一下我们的微信公众号:扫描二维码中国象棋棋谱,象棋残局,象棋小游戏的公众号,公众号:heimaoseoer
版权声明:本文为原创文章,版权归 梦斌讲棋 所有,欢迎分享本文,转载请保留出处!

评论已关闭!