大麦抢票-狠货

大部分购买方式已迁移至手机端,专注研究移动端

小白操作–仅供学习

注意在帐号按权重的第三方账号设置解绑淘宝,否则有可能在抢票时候出现滑块,影响抢票,抢票优先选择大麦

⚠️核心内容参考:

据悉,在购票环节,大麦就通过恶意流量清洗技术在网络层实时识别并拦截通过自动化手段发起下单请求的流量,增强对刷票脚本、刷票软件、虚拟设备的识别能力,丰富处置手段,实现精准防御,恶意流量拦截率达99%。

其次在代拍代抢防范上,平台升级算法模型,增强了对代抢账号、代抢行为的识别能力,结合“黄牛”风控黑名单库,对设备与账号异常情况进行实时判别和阻断,极大遏制了“人肉众包”现象。

而在入场环节,大麦还推出了安全、高效的强实名核验系统,支持“人、证、票”三合一强实名入场,防止了“黄牛”线下倒票。目前,该系统已在北京、上海、杭州等地的多个大型演出中应用。

写在前面-不要再让你爱的人花高价去买黄牛票

相关接口域名:
大麦(H5端,app端类似,build create自己去看):
https://mtop.damai.cn/h5/mtop.alibaba.damai.detail.getdetail/
https://mtop.damai.cn/h5/mtop.alibaba.detail.subpage.getdetail/
猫眼:
https://yanchu.maoyan.com/myshow/ajax/ https://wx.maoyan.com/maoyansh/myshow/
票星球:
https://m.piaoxingqiu.com/cyy_gatewayapi/trade/
https://m.piaoxingqiu.com/cyy_gatewayapi/show/
纷玩岛:
https://api.livelab.com.cn/performance/app/
秀动:
https://wap.showstart.com/pages/ https://wap.showstart.com/v3/nj/order/
在这里插入图片描述

部分代码-手机端

from gevent import monkey
monkey.patch_all()

wait_time = input("提前时间(秒):")

debug_flag = input("从post_list加载账号(2开启并继续添加 1开启 0关闭):")

start_time = input("开售时间(格式:2020 10 06 16 00 10):")

DEBUG = int(debug_flag)

if DEBUG != 1:
    times = input("账号数量:")
confirm_url = input("confirm_url:")
caps = {
    'browserName': 'chrome',
    'loggingPrefs': {
        'browser': 'ALL',
        'driver': 'ALL',
        'performance': 'ALL',
    },
    'goog:chromeOptions': {
        'perfLoggingPrefs': {
            'enableNetwork': True,
        },
        'w3c': False,
    },
}
caps['goog:loggingPrefs'] = {'performance': 'ALL'}
options = webdriver.ChromeOptions()
options.add_argument('log-level=3')
options.add_argument('--window-size=400,700')
options.add_experimental_option('excludeSwitches', ['enable-automation'])
options.add_experimental_option(
    "mobileEmulation", {"deviceName": "Nexus 5"})
driver = webdriver.Chrome(desired_capabilities=caps, options=options)

if DEBUG == 2:
    with open('post_list.json', 'r') as f:
    post_list = json.load(f)
else:
post_list = []


if __name__ == '__main__':
    thread_l = list()
for i in post_list:
    thread_l.append(gevent.spawn(worker, i=i))
# 处理时间
t1 = time.mktime(time.strptime(start_time, "%Y %m %d %H %M %S"))
while(1):
    if(t1-time.time()<float(wait_time)):
    break

gevent.joinall(thread_l)

请记住,这篇介绍旨在技术分享,使用此类脚本时,请遵守相关平台的规定,感兴趣的可以交流*

  • 5
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

AALoveTouch

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值