PDA

View Full Version : Unable to record from some CB models


rykorb
03-08-2017, 05:13 PM
Hi All,

Having an issue at the moment where I can't seem to record some models and just wonder if any of you have a solution? It seems like the models are the edge50 server. Using Streamlink or livestreamer I get a bad gateway error. However, if I then ssh to my US client the model seem to be on a different edge server and records just fine. I know that CB tend to add servers every so often but I have models on edge68 that are being recorded just fine.

Any help would be greatly appreciated,
Rykorb.

troller12
03-08-2017, 05:43 PM
Hi,

so not all server address values are working every time so in this case just switch to another one and use this with your model.Not sure whether you can define this extra using LS or SL tools or not.

greetz

Moonspell
03-08-2017, 05:50 PM
why not simply use, a script with rtmpdump? :)

rykorb
03-08-2017, 05:56 PM
I use capturebate which in turn uses Livestreamer. So its not that easy to switch it over to RTMPdump.

Damianonymous
03-08-2017, 05:58 PM
I use the script to rtmpdump created by ihryjfbd but using Streamlink, enough to replace several lines of commands. During an error the script looking for a new server automatically;)

rykorb
03-08-2017, 06:01 PM
I use the script to rtmpdump created by ihryjfbd but using Streamlink, enough to replace several lines of commands. During an error the script looking for a new server automatically;)

Do you have a link please?

Damianonymous
03-08-2017, 06:08 PM
Here's the latest script


@echo off
setlocal enableDelayedExpansion

set USERNAME=AnonymousUser
set PASSWORD=anonymous
set CB_VERSION=9

set SECONDS=15

set /p model=Enter username:
set model=%model:https://chaturbate.com/=%
set model=%model:/=%

set OUT_DIR=captures\%model%

if not exist %OUT_DIR% (mkdir %OUT_DIR%)

for /L %%i in (1,1,99) do (
set N=!time:~9,12!
set /a N=10000!N! %% 10000
set rand=!random!
set /a rand=!rand!* 31/32768+1
set /a rand=!N!+!rand!
set /a rand=!rand!*31/131+1
)
set server=edge%rand%

:doCapture
for /r %%F in (*) do if %%~zF==0 @del "%%F"
set ts=%date:/=-%_%time::=-%
set ts=%ts: =%
set output=%OUT_DIR%\%model%_%ts%.flv
set PASSWORD=%PASSWORD:\u003D==%

color 2F && title %model% @ %time% - %server%
cls && echo Capturing: %model% @ %time% - %server% && echo.

rtmpdump --live --timeout 20 ^
-r "rtmp://%server%.stream.highwebmedia.com/live-edge" ^
-p "http://chaturbate.com/%model%" ^
-C S:%USERNAME% ^
-C S:%model% ^
-C S:%CB_VERSION% ^
-C S:%PASSWORD% ^
-y "playpath" -o %output%

for %%r in (%output%) do (
if %%~zr lss 1 del %output%
color 4F && title %model% - OFFLINE
)

set /a rand=%random%*31/32768+1
set server=edge%rand%

timeout %SECONDS%
goto doCapture


Lines of command rtmpdump mentioned on Streamlink can also Livestreamer.

streamlink "https://chaturbate.com/%model%/" best --http-header "swfUrl=https://chaturbate.com/static/flash/CBV_2p661.swf" --http-header "flashVer=WIN 24.0.0.221" -o "%OUT_DIR%\%model%_%ts%.ts

rykorb
03-09-2017, 01:15 AM
I still seem to be getting the same issue with this script. Looks like an issue with the chaturbate plugin for livestreamer and streamlink. It is weird how i can capture from a box in the US but not in the UK.

ihryjfbd
03-09-2017, 07:50 AM
Well some models do location restrict their cam, I know cause once this romanian model restricted it so only peeps from romania could access her page, accessing the page with romanian proxy worked as normal.

Chakhal
03-09-2017, 08:00 AM
I use hotspot shield add-ons to watch blocked cameras from my country