function GetModelStatus ($site, $model_name) { if ($site -eq "BongaCams") { ... }
if ($site -eq "BongaCams") { $curl_arg_bc_chat_data = "--silent", "--show-error", "--insecure", "--user-agent", "$user_agent", "--header", "X-Requested-With: XMLHttpRequest", "--url", "$url_bongacams/get-member-chat-data?username=$model_name" $response = $null $response = & $curl_exe @curl_arg_bc_chat_data if ($response) { $json = $null $json = $response | ConvertFrom-Json if ($json) { if ($json.status -eq "error") { $status = "error" $curl_arg_bc_redirected = "--silent", "--show-error", "--location", "--head", "--insecure", "--user-agent", "$user_agent", "--write-out", "%{url_effective}", "--output", "nul", "--url", "$url_bongacams/$model_name" $redirected_url = $null $redirected_url = & $curl_exe @curl_arg_bc_redirected if ($redirected_url -match "{0}_del" -f $model_name) { $status = "deleted" } elseif ($redirected_url -match "/profile/") { $status = "offline" } } elseif ($json.status -eq "success") { $is_offline = $json.result.chatShowStatusOptions.isOffline $is_privat_chat = $json.result.chatShowStatusOptions.isPrivatChat $is_full_privat_chat = $json.result.chatShowStatusOptions.isFullPrivatChat $is_group_privat_chat = $json.result.chatShowStatusOptions.isGroupPrivatChat $is_vip_show = $json.result.chatShowStatusOptions.isVipShow if ($is_offline) { $status = "offline" } elseif ($is_privat_chat) { $status = "private" } elseif ($is_full_privat_chat) { $status = "fullprivate" } elseif ($is_group_privat_chat) { $status = "group" } elseif ($is_vip_show) { $status = "vip" } else { $status = "public" } } else { $status = $json.status } } else { $status = "null" } } else { $status = "no response" } }
Вчера, 00:23
21 июня 2026 23:35
21 июня 2026 22:23
21 июня 2026 13:26
21 июня 2026 11:04
21 июня 2026 09:57
21 июня 2026 09:11
20 июня 2026 20:00
20 июня 2026 18:21
20 июня 2026 14:03
20 июня 2026 14:01
20 июня 2026 05:20
19 июня 2026 23:11
14 июня 2026 09:59
10 июня 2026 16:15
31 мая 2026 23:34
31 мая 2026 16:13
30 мая 2026 10:33
29 мая 2026 18:20
29 мая 2026 16:17
28 мая 2026 19:27
27 мая 2026 23:14
27 мая 2026 21:35
24 мая 2026 23:08
24 мая 2026 20:57
15 мая 2026 07:53
15 мая 2026 00:43
14 мая 2026 17:33
14 мая 2026 17:32
7 мая 2026 00:36
21 апреля 2026 00:16
13 апреля 2026 00:13
12 апреля 2026 23:28
11 апреля 2026 23:09
4 апреля 2026 16:11
4 апреля 2026 10:24
25 марта 2026 11:17
25 марта 2026 10:46
24 марта 2026 18:14
5 марта 2026 04:50
25 февраля 2026 18:39
19 февраля 2026 20:48
16 февраля 2026 15:27