抖音巨量

抖音巨量


检测开播

<p><strong>简要描述:</strong> 检测是否开启直播</p> <p><strong>请求方式</strong> GET</p> <p><strong>请求URL:</strong> </p> <ul> <li><code>https://buyin.jinritemai.com/api/livepc/playinfo?_signature=_02B4Z6wo00101f7Oy.AAAIDBfswxsk89LNH-ys9AAB5BC83sS2c.UX8r8j6DeQG-yrqnae-mnXw9Aghc2FUhgaSqBxIaL5tSN-Ud9XvC.A7saj30NtKf66niZJbLBaDiQoiku6wo-YgBAm1J64</code></li> </ul> <p><strong>参数说明:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">_signature</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td><a href="https://www.showdoc.com.cn/1672556532153419/7963324676888929" title="运算法从这里取">云算法从这里取</a></td> </tr> </tbody> </table> <p><strong>请求协议头</strong></p> <pre><code>user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 accept: application/json, text/plain, */* referer: https://buyin.jinritemai.com/dashboard/live/control</code></pre> <p><strong>返回例子</strong></p> <pre><code>{ "st": 0, "code": 0, "msg": "success", "extra": { "now": 1636600012000, "log_id": "202111111106520101980662040652257D" }, "data": { "nick_name": "精推库&amp;抖瓜", "user_avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_543e97d95416df8b6a643e819e928c74.jpeg?from=4010531038", "stream_url": "", "user_app": 1128, "room_id": "", "qrcode_schema_url": "", "has_released_fission_activity": false, "rest_assured_buy_on": false } }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">room_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>不为空则表示开启了直播</td> </tr> </tbody> </table> <p><strong>备注</strong> 轮询:建议3000毫秒</p> <p>前面持久会话返回合并的Cookie,带●●问此URL就可以了</p>

页面列表

ITEM_HTML