How can I use crawlers to obtain video files on the zetv website?

Source: Internet
Author: User
Www.zetv.com. cnplay. a... how can I get the video file http://www.zetv.com.cn/play.a... how can I get the video file

Reply content:

Http://www.zetv.com.cn/play.a... could you tell me how to get the video file

My idea is to get all the content on the page through curl, then match the content you need through regular expressions, and then create a download request.

I checked the rtmp protocol used for video playback.

Rtmp Encyclopedia, video is not obtained through http. if you really need to download, there is also a way, there is a software called rtmpdump can download, http://rtmpdump.mplayerhq.hu/tried, can download, the speed is somewhat slow.

Use rtmpdump-r rtmp: // 218.28.177.199: 1935/vod2/mp4/xxsd/20160727092517877544/720 p.mp4-o m.mp4 to remember the-o parameter. otherwise, run the cmd command in seconds.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.