Giter Site home page Giter Site logo

iqiyi-hack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iqiyi-hack's Issues

Broken for iQiyi

Since 2016/06/19, iQiYi dropped the hackable approach and turned to FlassCC/CrossBridge. Now the vf parameter is the key, which is generated by cmd5.calc function.

Related issues:
soimort/you-get#1211
ytdl-org/youtube-dl#9839

怎么拼凑出乐视的视频下载链接?

现在通过you-get获得的是ts的的视频分段,对于大一点的视频会有上百个分段,这一点不是很方便。
比如这个视频应该是MP4格式的,
http://www.le.com/ptv/vplay/1847799.html
我用webkit可以轻松地获得这种以http://api.le.com/mms/out/video/playJson 开头的请求,本视频的是
http://api.le.com/mms/out/video/playJson?id=1847799&platid=1&splatid=101&format=1&tkey=-2029658988&domain=www.le.com&dvtype=720p&accessyx=1&devid=04C6606C92DA5A8F696BEDB3FE4F8BC6E2BBCC27
里面的内容为

{
    "danmu" : "1", "firstlook" : "0", "isAlbumPay" : 0, "isTryLook" : "0", "paylist" : ["1080p"], "playstatus" : {
        "status" : "1"
    },
    "playurl" : 
    {
        "videoType" : 180001, "cid" : "2", "pid" : "84003", "vid" : "1847799", "title" : "\u5927\u5b85\u95e8\u0030\u0031", 
        "mid" : ",2113249,", "duration" : "2628", "pic" : "http://img1.c3.letv.com/mms/thumb/2012/12/14/0933728e1c47da37b4be8bee7794e0ac/0933728e1c47da37b4be8bee7794e0ac_2.jpg", 
        "filter" : 1, "download" : ["290009", "290005", "290003", "290001", "290002"], "total" : "0", 
        "nextvid" : "1847805", "domain" : ["http://play.g3proxy.lecloud.com", "http://bplay.g3proxy.lecloud.com", 
        "http://117.121.54.219"], "dispatch" : 
        {
            "1000" : ["/vod/v2/MTE3LzMxLzY4L2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0zMDE4MjE5ODAtYXZjLTQ4MDA0My1hYWMtMzIwMDItMjYyODA0MC0xNzExNDAzNjQtMzFiNWZkYmE2MWU2OWQwOWNlYmM0ZGM4NjE0OWI4ZGUtMTQyMDU5MzU5ODA3Ny5tcDQ=?b=520&mmsid=2113249&tm=1467545038&key=f852abb856528b93f854f2ea3ec211e5&platid=1&splatid=101&playid=0&tss=ios&vtype=13&cvid=49392381325&payff=0&pip=6c10daa64d2c55bc363f902c88c0b118", 
            "117/31/68/letv-uts/14/ver_00_22-301821980-avc-480043-aac-32002-2628040-171140364-31b5fdba61e69d09cebc4dc86149b8de-1420593598077.mp4"], 
            "350" : ["/vod/v2/MTI0LzI2LzgzL2xldHYtdXRzLzE0L3Zlcl8wMF8yMi0zMTE1OTIzMzYtYXZjLTIyOTgzMS1hYWMtMzIwMDItMjYyODA0MC04ODk0MTAxMy0xMjFhNThiYzMzODgzNWQ1MzI2Yjc4MmYwODQ4MTJmMy0xNDI1NzgyODE4MzA5Lm1wNA==?b=270&mmsid=2113249&tm=1467545038&key=5ecf63200b3579b19d1d0131c9d491ba&platid=1&splatid=101&playid=0&tss=ios&vtype=21&cvid=49392381325&payff=0&pip=6c10daa64d2c55bc363f902c88c0b118", 
            "124/26/83/letv-uts/14/ver_00_22-311592336-avc-229831-aac-32002-2628040-88941013-121a58bc338835d5326b782f084812f3-1425782818309.mp4"]
        }
    },
    "point" : {
        "skip" : [45, 2627]
    },
    "statuscode" : "1001", "trylook" : "0", "trylooktime" : 0, "watermark" : 
    {
        "imgs" : [
        {
            "lasttime" : "1800", "link" : "", "position" : "2", "url100" : "http://i1.letvimg.com/lc04_iscms/201601/12/15/22/47615b27e213449da27bfd356df13f38.png"
        },

        {
            "lasttime" : "1800", "link" : "", "position" : "1", "url100" : "http://i0.letvimg.com/lc04_iscms/201601/12/15/22/afd7ca79d3564037acd9606ce04069c2.png"
        }], "offset" : "3"
    }
}

这个似乎就是视频的相关信息了,请问要怎么拼凑出视频的MP4下载链接?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.