Code Monkey home page Code Monkey logo

Comments (4)

lmc999 avatar lmc999 commented on September 26, 2024

Hotstar计划中,其他等有时间可以补充进脚本

from regionrestrictioncheck.

Polaris0112 avatar Polaris0112 commented on September 26, 2024

感谢!

from regionrestrictioncheck.

lmc999 avatar lmc999 commented on September 26, 2024

流媒体解锁测试脚本新添加了Hotstar,如果你有这个OTT平台账号的话帮忙测试一下,因为我没有账号,不清楚播放视频时cdn接口是否会用不同的IP库二次鉴权

from regionrestrictioncheck.

Polaris0112 avatar Polaris0112 commented on September 26, 2024

视频播放过程中会有鉴权API
https://bifrost-api.hotstar.com/v1/identify

Request Payload
{
    "integrations": {
        
    },
    "context": {
        "page": {
            "path": "/in/tv/out-of-love/1260013972",
            "referrer": "",
            "search": "",
            "title": "Gumrah - Watch Episode 1 - Deadly Vacation on Disney+ Hotstar",
            "url": "https://www.hotstar.com/in/tv/out-of-love/1260013972"
        },
        "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36",
        "library": {
            "name": "analytics.js"
        }
    },
    "traits": {
        "platform": "web",
        "subscription_status": "Free",
        "p_id": "11a548ea68033001a94ee3e43c123c347",
        "h_id": "b927e9d65dcr4321b5586e22981239e33",
        "logged_in_status": true,
        "cookie_id": "32774d1d-0fe1-46ec-90cc-7806177eddd0",
        "asn_number": "xxxx",
        "device_id": "32774d1d-0fe1-46ec-90cc-7806177eddd0",
        "plan_type": "FREE",
        "profile": "main",
        "gender": "",
        "phone_number": "9655593457",
        "date_of_birth_format": "",
        "country": "IN",
        "lat": "18.98",
        "long": "72.83",
        "display_language": "eng",
        "subscription_ums_item_id": "Free",
        "primary_language": "Hindi",
        "primary_lang_score": 0.63,
        "secondary_language": "Tamil",
        "secondary_lang_score": 0.11,
        "tertiary_language": "Telugu",
        "tertiary_lang_score": 0.08,
        "is_parental_lock_enabled": false,
        "days_to_expire": 0,
        "city": "NEW_DELHI",
        "ads_country": "IN",
        "state": "DL",
        "login_method": "Phone Number"
    },
    "userId": "11a548ea68003921a94ee3e43c33c347",
    "anonymousId": "8e1353213-e6d0-40a2-bf2e-3213a11793213",
    "timestamp": "2021-07-07T07:49:04.202Z",
    "type": "identify",
    "sentAt": "2021-07-07T07:49:04.206Z",
    "messageId": "ajs-46f135ee1bd0cad6e1b3f2313dar289f63"
}

不过不影响,前面curl能过后面播放不是问题

from regionrestrictioncheck.

Related Issues (20)

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.