V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
beric
V2EX  ›  问与答

有什么好的方法取得优酷移动版的源文件播放地址?

  •  
  •   beric · Oct 25, 2013 · 3999 views
    This topic created in 4574 days ago, the information mentioned may be changed or developed.
    之前好像用CHROME修改移动版的AGENT请求某个视频地址就直接返回MP4地址的,现在好像不行了,求大牛支招……
    5 replies    1970-01-01 08:00:00 +08:00
    alexrezit
        1
    alexrezit  
       Oct 25, 2013
    可能是检测到屏幕大小不符了? 用 iOS Simulator 配合 Safari 试试.
    pubby
        2
    pubby  
       Oct 25, 2013
    以前写过,不过不开源

    思路:
    代码逻辑在 http://player.youku.com/embed/unifull/unifull_.js
    配合android上的chrome,打开远程调试可以看到相关请求,慢慢模拟吧


    现成开源的可能别人写过吧
    beric
        3
    beric  
    OP
       Oct 26, 2013
    @pubby 好的,谢谢啦!
    beric
        4
    beric  
    OP
       Oct 26, 2013
    @alexrezit 已经改了分辨率还是不行的,用二楼的方法看看……
    alexrezit
        5
    alexrezit  
       Oct 26, 2013 via iPhone
    @beric
    所以我说用 iOS Simulator.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2777 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:02 · PVG 14:02 · LAX 23:02 · JFK 02:02
    ♥ Do have faith in what you're doing.