Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET INBOX
- import requests
- url = "https://api16-va.tiktokv.com/aweme/janus/v1/notice/multi/"
- querystring = {
- "live_entrance": "5",
- "req_from": "tiktok_message",
- "is_draw": "0",
- "content_type": "3",
- "channel_id": "81",
- "count": "0",
- "webcast_sdk_version": "1840",
- "webcast_client_version": "19.3.3",
- "webcast_language": "en",
- "webcast_locale": "en",
- "os_api": "25",
- "device_type": "SM-G973N",
- "ssmix": "a",
- "manifest_version_code": "2021903030",
- "dpi": "320",
- "carrier_region": "IE",
- "uoo": "0",
- "region": "US",
- "carrier_region_v2": "310",
- "app_name": "musical_ly",
- "version_name": "19.3.3",
- "timezone_offset": "7200",
- "ts": "1658605368",
- "ab_version": "19.3.3",
- "residence": "IE",
- "cpu_support64": "false",
- "current_region": "US",
- "ac2": "wifi",
- "ac": "wifi",
- "app_type": "normal",
- "host_abi": "armeabi-v7a",
- "channel": "googleplay",
- "update_version_code": "2021903030",
- "_rticket": "1658605369385",
- "device_platform": "android",
- "iid": "7122515864645289734",
- "build_number": "19.3.3",
- "locale": "en",
- "op_region": "IE",
- "version_code": "190303",
- "timezone_name": "Africa/Harare",
- "cdid": "1fc627e2-6956-4df8-9dd8-ed499e2d71a7",
- "openudid": "0e96eaebc0c2e44f",
- "sys_region": "US",
- "device_id": "6888243656290108930",
- "app_language": "en",
- "resolution": "900*1600",
- "device_brand": "samsung",
- "language": "en",
- "os_version": "7.1.2",
- "aid": "1233",
- "mcc_mnc": "31002"
- }
- headers = {
- "accept-encoding": "gzip",
- "passport-sdk-version": "19",
- "x-tt-token": "03725646035c21d3f781e8d874d691f34804b8af38de4d8f4885bae5cd07e286efd270ad19d12af66beea40076e0eab72d2d12e8e36f4cf5f63f82e782169aa3ca36c4d1fdc4cdc443eccca47829dc15e39310881576189595e0d833e8196d30e2d5d-1.0.1",
- "sdk-version": "2",
- "x-ss-req-ticket": "1658605369389",
- "x-tt-dm-status": "login=1;ct=1",
- "x-tt-cmpl-token": "AgQQAPObF-RPsI8CtPIKJt0_xfZsL4wdv4BpYMZVBA",
- "cookie": "passport_csrf_token=37030da28e964989d1e047761d809927; passport_csrf_token_default=37030da28e964989d1e047761d809927; d_ticket=e2d72a51e3a864d82b847b82aacb938707649; multi_sids=6862459255506863110%3A725646035c21d3f781e8d874d691f348; odin_tt=99d36fb711096bfedf3252562518187ad40637cc7e987be61308700d0262513ab57a446e6c617fccbfa4335f86d065caaa20364c33ab249d5acd45f1efb427ab89d8f45f893676f760972cd0856d0f0c; cmpl_token=AgQQAPObF-RPsI8CtPIKJt0_xfZsL4wdv4AQYMZRLw; sid_guard=725646035c21d3f781e8d874d691f348%7C1658539898%7C15551999%7CThu%2C+19-Jan-2023+01%3A31%3A37+GMT; uid_tt=364b1f94200af5b9577c0b11ea374b3083b077dfac9b8f1086e093dcbdce2e55; uid_tt_ss=364b1f94200af5b9577c0b11ea374b3083b077dfac9b8f1086e093dcbdce2e55; sid_tt=725646035c21d3f781e8d874d691f348; sessionid=725646035c21d3f781e8d874d691f348; sessionid_ss=725646035c21d3f781e8d874d691f348; store-idc=maliva; store-country-code=fr; tt-target-idc=useast1a; install_id=7122515864645289734; ttreq=1$ee74efa76edfaf0b512f6cb9cba89a480a645564; msToken=p6ndKHtfums5TgzspqCKatDSD4S58SoVXA0yWbKbK0XRlMbaBdsu5rTMvQ7MF_b-R7h4VqaAN2DIXVZHwcNG6JsLG1EyFTYApSeSKeLg2Ojs_9lx0pj5JRlAZA==",
- "x-gorgon": "0404a0584000a3f26db07a611476bbca243cd3da708cac4db58e",
- "x-khronos": "1658605369",
- "host": "api16-va.tiktokv.com",
- "connection": "Keep-Alive",
- "user-agent": "okhttp/3.12.1"
- }
- response = requests.get(url, headers=headers, params=querystring)
- print(response.text)
- import requests
- url = "https://api16-va.tiktokv.com/aweme/v1/notice/multi/"
- querystring = {
- "group_list": "[{\"max_time\":0,\"min_time\":0,\"count\":20,\"group\":36,\"is_mark_read\":1}]",
- "os_api": "25",
- "device_type": "SM-G973N",
- "ssmix": "a",
- "manifest_version_code": "2021903030",
- "dpi": "320",
- "carrier_region": "IE",
- "uoo": "0",
- "region": "US",
- "carrier_region_v2": "310",
- "app_name": "musical_ly",
- "version_name": "19.3.3",
- "timezone_offset": "7200",
- "ts": "1658605368",
- "ab_version": "19.3.3",
- "residence": "IE",
- "cpu_support64": "false",
- "current_region": "US",
- "ac2": "wifi",
- "ac": "wifi",
- "app_type": "normal",
- "host_abi": "armeabi-v7a",
- "channel": "googleplay",
- "update_version_code": "2021903030",
- "_rticket": "1658605369381",
- "device_platform": "android",
- "iid": "7122515864645289734",
- "build_number": "19.3.3",
- "locale": "en",
- "op_region": "IE",
- "version_code": "190303",
- "timezone_name": "Africa/Harare",
- "cdid": "1fc627e2-6956-4df8-9dd8-ed499e2d71a7",
- "openudid": "0e96eaebc0c2e44f",
- "sys_region": "US",
- "device_id": "6888243656290108930",
- "app_language": "en",
- "resolution": "900*1600",
- "device_brand": "samsung",
- "language": "en",
- "os_version": "7.1.2",
- "aid": "1233",
- "mcc_mnc": "31002"
- }
- headers = {
- "accept-encoding": "gzip",
- "passport-sdk-version": "19",
- "x-tt-token": "03725646035c21d3f781e8d874d691f34804b8af38de4d8f4885bae5cd07e286efd270ad19d12af66beea40076e0eab72d2d12e8e36f4cf5f63f82e782169aa3ca36c4d1fdc4cdc443eccca47829dc15e39310881576189595e0d833e8196d30e2d5d-1.0.1",
- "sdk-version": "2",
- "x-ss-req-ticket": "1658605369387",
- "x-tt-dm-status": "login=1;ct=1",
- "x-tt-cmpl-token": "AgQQAPObF-RPsI8CtPIKJt0_xfZsL4wdv4BpYMZVBA",
- "cookie": "passport_csrf_token=37030da28e964989d1e047761d809927; passport_csrf_token_default=37030da28e964989d1e047761d809927; d_ticket=e2d72a51e3a864d82b847b82aacb938707649; multi_sids=6862459255506863110%3A725646035c21d3f781e8d874d691f348; odin_tt=99d36fb711096bfedf3252562518187ad40637cc7e987be61308700d0262513ab57a446e6c617fccbfa4335f86d065caaa20364c33ab249d5acd45f1efb427ab89d8f45f893676f760972cd0856d0f0c; cmpl_token=AgQQAPObF-RPsI8CtPIKJt0_xfZsL4wdv4AQYMZRLw; sid_guard=725646035c21d3f781e8d874d691f348%7C1658539898%7C15551999%7CThu%2C+19-Jan-2023+01%3A31%3A37+GMT; uid_tt=364b1f94200af5b9577c0b11ea374b3083b077dfac9b8f1086e093dcbdce2e55; uid_tt_ss=364b1f94200af5b9577c0b11ea374b3083b077dfac9b8f1086e093dcbdce2e55; sid_tt=725646035c21d3f781e8d874d691f348; sessionid=725646035c21d3f781e8d874d691f348; sessionid_ss=725646035c21d3f781e8d874d691f348; store-idc=maliva; store-country-code=fr; tt-target-idc=useast1a; install_id=7122515864645289734; ttreq=1$ee74efa76edfaf0b512f6cb9cba89a480a645564; msToken=p6ndKHtfums5TgzspqCKatDSD4S58SoVXA0yWbKbK0XRlMbaBdsu5rTMvQ7MF_b-R7h4VqaAN2DIXVZHwcNG6JsLG1EyFTYApSeSKeLg2Ojs_9lx0pj5JRlAZA==",
- "x-gorgon": "0404000e4000c880788b92fa02b464c71c01922cb0b0de8e126e",
- "x-khronos": "1658605369",
- "host": "api16-va.tiktokv.com",
- "connection": "Keep-Alive",
- "user-agent": "okhttp/3.12.1"
- }
- response = requests.get(url, headers=headers, params=querystring)
- print(response.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement