PDA

View Full Version : How capture xhamster cams?


camshunter
06-28-2015, 02:56 PM
http://xhamster.com/cams

Before i was using Replay Media Catcher 4 or RTMPdump but now them don't work (at least not with all cams).

What software i have to use (maybe free)?

kwm
06-28-2015, 10:01 PM
I checked a couple of cams and was able to record with rtmpdump.

rtmpdump -v -r "rtmp://SERVERIP:1935/live" -y "PERFORMERNUMBER" -o filename.flv

the PERFORMERNUMBER will be a number in the url: blablabla?id=123456. its the 123456. the SERVERIP is embeded in the html code of the page: window.vars["serverIp"] = "256.256.256.256";

If you want, I can whip up a linux shell script to do the work for you. Sorry, I can't help with windows.

troller12
06-29-2015, 11:16 AM
Hi,

they just changed the streaming port to 1936 thats all.

greetz

johnpupek
06-30-2015, 11:14 AM
Rtmpdumphelper

rexu
07-24-2015, 05:44 AM
rtmpdump -v -r "rtmp://SERVERIP:1936/live" -y "PERFORMERNUMBER" -o filename.flv
Hi,
No more working from a couple of days...

RTMP_ReadPacket, failed to read RTMP packet header

From the html source I see they added (among the other vars) a long string "geo:MANYCHARACTERS", but I'm not expert...

Can anyone help to make it working again?
Thank you

kwm
07-24-2015, 09:26 PM
Open the page source and search for the first occurance of window.vars then find the userID modelID and player info.

STREAMURL will be something like rtmp://256.256.256.256:1936 in the player line
USERID seems to start with a dash then some numbers like -1234
REALLY_LONG_CODE will be right after "geo": on the player line

rtmpdump -r "STREAMURL/live?userid=USERID&pwd=&geo=REALLY_LONG_CODE" -y "MODELID" -o outputfile.flv