Home > Backend Development > PHP Tutorial > javascript - 虎扑屏蔽youku,tudou广告是怎么实现的

javascript - 虎扑屏蔽youku,tudou广告是怎么实现的

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:45:49
Original
2156 people have browsed it

求别骂,先。
我经常上虎扑,发现虎扑的youku,tudou的视频都米有广告,在用户点击视频的时候就去获取视频的实际地址,而跳过了广告。是怎么获取到视频地址的呢?
类似于下面的这种

http://static.youku.com/v1.0.0025/v/swf/qplayer.swf?VideoIDS=XNzAzODY4NzQ0&isAutoPlay=false&winType=index&isShowRelatedVideo=false

http://js.tudouui.com/bin/player2/olc_8.swf?iid=192770114&swfPath=http://js.tudouui.com/bin/lingtong/SocialPlayer_97.swf&tvcCode=-1&tag=XBATTLE%2C%E4%B8%8A%E6%B5%B7%2C%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81%2Chotdog%2C%E6%96%B9%E8%89%AF%E8%B6%85&title=%5B%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81%5D%E4%B8%8A%E6%B5%B7XBattle%E5%90%8E%E5%8D%AB%E6%96%B9%E8%89%AF%E8%B6%85VS%E5%90%88%E8%82%A5%E6%8C%91%E6%88%98%E8%80%85%E5%8D%95%E6%8C%91%E4%B8%A4%E5%B1%80%E5%AE%98%E6%96%B9%E5%AE%8C%E6%95%B4%E6%97%A0%E5%88%A0%E5%87%8F%E7%89%88&mediaType=vi&totalTime=629000&hdType=3&hasPassword=0&nWidth=-1&isOriginal=0&channelId=15&nHeight=-1&banPublic=false&videoOwner=371637532&tict=3&channelId=15&cs=&k=XBATTLE|%E4%B8%8A%E6%B5%B7|%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81|hotdog|%E6%96%B9%E8%89%AF%E8%B6%85&panelRecm=http://css.tudouui.com/bin/lingtong/PanelRecm_9.swz&panelDanmu=http://css.tudouui.com/bin/lingtong/PanelDanmu_4.swz&panelEnd=http://css.tudouui.com/bin/lingtong/PanelEnd_13.swz&pepper=http://css.tudouui.com/bin/binder/pepper_17.png&panelShare=http://css.tudouui.com/bin/lingtong/PanelShare_7.swz&panelCloud=http://css.tudouui.com/bin/lingtong/PanelCloud_8.swz&autoPlay=false&listType=0&rurl=http://bbs.hupu.com/9418436.html&autostart=false&snap_pic=http%3A%2F%2Fg3.tdimg.com%2F45a8f16527ed4d2d4a08f4096a7ed6e2%2Fw_2.jpg&code=qntWUXrD8G8&aopRate=0.001&p2pRate=0.95&adSourceId=81000&yjuid=1389935925428DFQ&yseid=null&yseidtimeout=null&yseidcount=1&uid=null&juid=018n7hlr5q22mc&vip=0

回复内容:

求别骂,先。
我经常上虎扑,发现虎扑的youku,tudou的视频都米有广告,在用户点击视频的时候就去获取视频的实际地址,而跳过了广告。是怎么获取到视频地址的呢?
类似于下面的这种

http://static.youku.com/v1.0.0025/v/swf/qplayer.swf?VideoIDS=XNzAzODY4NzQ0&isAutoPlay=false&winType=index&isShowRelatedVideo=false

http://js.tudouui.com/bin/player2/olc_8.swf?iid=192770114&swfPath=http://js.tudouui.com/bin/lingtong/SocialPlayer_97.swf&tvcCode=-1&tag=XBATTLE%2C%E4%B8%8A%E6%B5%B7%2C%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81%2Chotdog%2C%E6%96%B9%E8%89%AF%E8%B6%85&title=%5B%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81%5D%E4%B8%8A%E6%B5%B7XBattle%E5%90%8E%E5%8D%AB%E6%96%B9%E8%89%AF%E8%B6%85VS%E5%90%88%E8%82%A5%E6%8C%91%E6%88%98%E8%80%85%E5%8D%95%E6%8C%91%E4%B8%A4%E5%B1%80%E5%AE%98%E6%96%B9%E5%AE%8C%E6%95%B4%E6%97%A0%E5%88%A0%E5%87%8F%E7%89%88&mediaType=vi&totalTime=629000&hdType=3&hasPassword=0&nWidth=-1&isOriginal=0&channelId=15&nHeight=-1&banPublic=false&videoOwner=371637532&tict=3&channelId=15&cs=&k=XBATTLE|%E4%B8%8A%E6%B5%B7|%E8%89%BE%E4%BC%A6%E5%87%BA%E5%93%81|hotdog|%E6%96%B9%E8%89%AF%E8%B6%85&panelRecm=http://css.tudouui.com/bin/lingtong/PanelRecm_9.swz&panelDanmu=http://css.tudouui.com/bin/lingtong/PanelDanmu_4.swz&panelEnd=http://css.tudouui.com/bin/lingtong/PanelEnd_13.swz&pepper=http://css.tudouui.com/bin/binder/pepper_17.png&panelShare=http://css.tudouui.com/bin/lingtong/PanelShare_7.swz&panelCloud=http://css.tudouui.com/bin/lingtong/PanelCloud_8.swz&autoPlay=false&listType=0&rurl=http://bbs.hupu.com/9418436.html&autostart=false&snap_pic=http%3A%2F%2Fg3.tdimg.com%2F45a8f16527ed4d2d4a08f4096a7ed6e2%2Fw_2.jpg&code=qntWUXrD8G8&aopRate=0.001&p2pRate=0.95&adSourceId=81000&yjuid=1389935925428DFQ&yseid=null&yseidtimeout=null&yseidcount=1&uid=null&juid=018n7hlr5q22mc&vip=0

现实很残酷,应该是付费的,而且价格并不便宜:

http://open.youku.com/services/info?serid=1

好像还是有广告吧。

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template