我妹妹想让我保存http://esewingworkshop.com/video-lesson/overview-zipper-typesflash视频和其他一些内容以便离线观看,并问我如何保存它。
我立即在Firefox中启用了Firebug,但令人惊讶的是视频源不在请求中。http://hwcdn.net/m7n9i8d5/fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types.flv.smil是最后一个被请求的内容。响应为:
<smil>
<head>
<meta base="rtmp://fms006.lo1.hwcdn.net/m7n9i8d5/_definst_">
</head>
<body>
<video
src="fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types?doppl=965d6485db1d06d2&dopsig=867922856d781b57521a1dd3f7c28c5b"></video>
</body>
</smil>
所以,它使用
rtmp
流媒体传输协议。我试图找出该流的来源。我使用“wireshark”分析了流量并跟踪了TCP流。
POST http://fms006.lo1.hwcdn.net/fcs/ident2 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: fms035.lo1.hwcdn.net Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 14 Server: FlashCom/3.5.5 Content-Type: text/plain这些是由Shockwave Flash播放器(plugin-containter.exe)依次发出的HTTP POST请求。
209.197.11.150POST http://209.197.11.219/open/1 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 17 Server: FlashCom/3.5.5 Content-Type: application/x-fcs
Wubmcmj7Q1T-6Tic POST http://209.197.11.219/idle/Wubmcmj7Q1T-6Tic/0 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 1 Server: FlashCom/3.5.5 Content-Type: application/x-fcs
POST http://209.197.11.219/send/Wubmcmj7Q1T-6Tic/1 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1537 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 3074 Server: FlashCom/3.5.5 Content-Type: application/x-fcs
http://fms006.lo1.hwcdn.net/fcs/ident2 http://209.197.11.150/open/1 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/0 http://209.197.11.150/send/2BZmcmj6mhTWexFa/1 http://209.197.11.150/send/2BZmcmj6mhTWexFa/2 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/3 http://209.197.11.150/send/2BZmcmj6mhTWexFa/4 http://209.197.11.150/send/2BZmcmj6mhTWexFa/5 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/6 _直到 /407..._
我不理解。我有点困惑关于这个通信是如何进行的?我无法找到视频源。据我了解,从SMIL请求(由浏览器发起)获取服务器地址,然后ShockwavePlayer接管通信,这些HTTP POST请求的响应是分块的视频。
但是它如何识别要获取哪个视频?RTMP在哪里?URL是什么?我该如何下载它?
/tmp
文件夹中保存,只要它正在播放。它的名称类似于Flash*
,其中其余的字符是随机的。 - mhitza