View Single Post
  #239  
Old 08-19-2014, 05:52 PM
muenster2011 muenster2011 is offline
Junior Member
 
Join Date: Jul 2014
Posts: 2
muenster2011 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


The last one from 2012 works at least (commit 0d44da9f5f5a4aa7cd64566c64d89d2fb392e3ef). I tried to reintegrate the patch into the mainline git, but failed.

But here's a skript I made, which parses the needed information automatically from the source code:

Code:
#!/bin/bash

if [ "$1" == "" ]; then
        echo "Usage: Paste Link to model as first argument."
        exit 1
fi
if [ "${1:(-1)}" == "/" ]; then
        model=${1%?}
else
        model=$1
fi
model=${model//*\//}

raw=`wget -qO - http://chaturbate.com/$model/|grep -B1 'password: '`
username=${raw#*\'}
username=${username%%\'*}
password=${raw#*password*\'}
password=${password%%\'*}
#echo $username
#echo $password

#password=${password//\$/\\$}
#date +%Y-%m-%d_%H-%M-%S

rtmpdump -v -r "rtmp://edge13-b.stream.highwebmedia.com/live-edge" -p "http://chaturbate.com/$model" -C S:$username -C S:$model -C S:2.634 -C S:$password -y "playpath" -o $model\_`date +%Y-%m-%d_%H-%M-%S`.flv
Have fun
muenster
Reply With Quote