喜马拉雅FM刷会员脚本



  • test



  • URL : https://m.ximalaya.com/open-activities/activityTrace/drawActivityItemOutside
    POST数据:{"mobile":"这里是手机号","bizActivityId":"2938"}



  • #!/bin/bash
    
    url="https://m.ximalaya.com/open-activities/activityTrace/drawActivityItemOutside"
    n=1000
    while [ $n -le 7000 ]
        do
            a=`curl -s $url -d '{"mobile":"你的手机号","bizActivityId":"'$n'"}' -H "Content-Type:application/json"`
            echo $a
            let n++ 
        done
    

    保存为 doit.sh

    执行命令:sh doit.sh



  • 有效的ID,也就领取了1个月左右!

    {"mobile":"xxxxx","bizActivityId":"2065"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"2535"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"2643"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"2973"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"3583"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"4415"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"4661"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"5054"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"5673"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"5694"}  {"code":0,"message":"领取成功","data":null}
    {"mobile":"xxxxx","bizActivityId":"5831"}  {"code":0,"message":"领取成功","data":null}
    
    

Log in to reply
 

Copyright © 2019 - 2020 JIKE社区 版权所有