Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to fix FuboTV check [2/2] #119

Merged
merged 1 commit into from
May 8, 2024
Merged

Try to fix FuboTV check [2/2] #119

merged 1 commit into from
May 8, 2024

Conversation

betaxab
Copy link
Contributor

@betaxab betaxab commented May 8, 2024

Original output (Stream unlockable):

{
    "status": "success",
    "time": 1715138389499,
    "time_hr": "2024-05-08T03:19:49.499+00:00",
    "node": "services-stac-7847dd7485-l87bz",
    "msg": "",
    "code": 200,
    "data": {
        "ttl_sec": 600,
        "nav": {
            "v": 0,
            "data": {
                "logo": {
                    "use_override": false,
                    "override_url": null,
                    "on_click_applink": null
                },
                "nav_items": [
                    {
                        "content_page_type": "stac",
                        "default": true,
                        "page_data": {
                            "title_override": "Home",
                            "page_type": "home_1"
                        }
                    },
                    {
                        "content_page_type": "stac",
                        "default": false,
                        "page_data": {
                            "title_override": "Sports",
                            "page_type": "sports_1"
                        }
                    },
                    {
                        "content_page_type": "stac",
                        "default": false,
                        "page_data": {
                            "title_override": "Shows",
                            "page_type": "series_1"
                        }
                    },
                    {
                        "content_page_type": "stac",
                        "default": false,
                        "page_data": {
                            "title_override": "Movies",
                            "page_type": "movies_1"
                        }
                    },
                    {
                        "content_page_type": "legacy",
                        "default": false,
                        "page_data": {
                            "legacy_page_type": "epg",
                            "title_override": "Guide"
                        }
                    },
                    {
                        "content_page_type": "legacy",
                        "default": false,
                        "page_data": {
                            "legacy_page_type": "dvr",
                            "title_override": "My Stuff"
                        }
                    }
                ],
                "component_flags": {
                    "enable_search": true,
                    "enable_chromecast": true
                }
            }
        },
        "pages": [
            {
                "version": 1,
                "id": -1,
                "type": "home_1",
                "use_default": false,
                "analytics_key": "home_1",
                "title": {
                    "EN": "HOME"
                },
                "title_at": "HOME",
                "contents": [
                    {
                        "type": "banner_ad_1",
                        "analytics_key": "2020-04-15-no-subscription-homepage-banner-en",
                        "data": {
                            "renderer": {
                                "name": "banner_ad_1",
                                "scale": 1.0,
                                "properties": [],
                                "data": {
                                    "active": true,
                                    "image_info": {
                                        "image_lg": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-04-15-banner-no-subscription-lg-en.png",
                                            "w": 3480,
                                            "h": 480
                                        },
                                        "image_med": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-04-15-banner-no-subscription-med-en.png",
                                            "w": 3480,
                                            "h": 480
                                        },
                                        "image_sm": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-04-15-banner-no-subscription-sm-en.png",
                                            "w": 1740,
                                            "h": 480
                                        }
                                    },
                                    "beacon_key_set": {
                                        "imp_key": "2020-04-15-no-subscription-homepage-banner-en",
                                        "focus_key": "2020-04-15-no-subscription-homepage-banner-en",
                                        "click_key": "2020-04-15-no-subscription-homepage-banner-en"
                                    },
                                    "click_info": null,
                                    "pixel_tracker": null,
                                    "has_pixel_tracker": false
                                }
                            },
                            "see_more_link": {
                                "enabled": false
                            },
                            "lang_title": "No Subscription",
                            "title": {
                                "EN": "No Subscription"
                            },
                            "data_source": null,
                            "max_items": 1
                        }
                    }
                ]
            }
        ]
    }
}

Bad (Forbidden):

{
    "status": "success",
    "time": 1715138608431,
    "time_hr": "2024-05-08T03:23:28.431+00:00",
    "node": "services-stac-c848b5d6b-gnpv4",
    "msg": "",
    "code": 200,
    "data": {
        "ttl_sec": 600,
        "nav": {
            "v": 0,
            "data": {
                "logo": {
                    "use_override": false,
                    "override_url": null,
                    "on_click_applink": null
                },
                "nav_items": [
                    {
                        "content_page_type": "stac",
                        "default": true,
                        "page_data": {
                            "title_override": null,
                            "page_type": "home_1"
                        }
                    }
                ],
                "component_flags": {
                    "enable_search": false,
                    "enable_chromecast": false
                }
            }
        },
        "pages": [
            {
                "version": 1,
                "id": -1,
                "type": "home_1",
                "use_default": false,
                "analytics_key": "home_1",
                "title": {
                    "EN": "HOME"
                },
                "title_at": "HOME",
                "contents": [
                    {
                        "type": "banner_ad_1",
                        "analytics_key": "2020-07-02-forbidden-ip-banner-en",
                        "data": {
                            "renderer": {
                                "name": "banner_ad_1",
                                "scale": 1.0,
                                "properties": [],
                                "data": {
                                    "active": true,
                                    "image_info": {
                                        "image_lg": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-07-02-forbidden-ip-banner-lg-en.png",
                                            "w": 3480,
                                            "h": 480
                                        },
                                        "image_med": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-07-02-forbidden-ip-banner-med-en.png",
                                            "w": 3480,
                                            "h": 480
                                        },
                                        "image_sm": {
                                            "image_url": "https://fubotv-v3-dev-custom-assets.imgix.net/stac/2020-07-02-forbidden-ip-banner-sm-en.png",
                                            "w": 1740,
                                            "h": 480
                                        }
                                    },
                                    "beacon_key_set": {
                                        "imp_key": "2020-07-02-forbidden-ip-banner-en",
                                        "focus_key": "2020-07-02-forbidden-ip-banner-en",
                                        "click_key": "2020-07-02-forbidden-ip-banner-en"
                                    },
                                    "click_info": null,
                                    "pixel_tracker": null,
                                    "has_pixel_tracker": false
                                }
                            },
                            "see_more_link": {
                                "enabled": false
                            },
                            "lang_title": "Forbidden IP",
                            "title": {
                                "EN": "Forbidden IP"
                            },
                            "data_source": null,
                            "max_items": 1
                        }
                    }
                ]
            }
        ]
    }
}

Bad(Country not supported):

{
    "error": {
        "code": "NO_SERVICE_IN_COUNTRY",
        "message": "there are no allowed channels in the country 10.10.10.10"
    }
}

@lmc999 lmc999 merged commit 15d57fc into lmc999:main May 8, 2024
@betaxab betaxab mentioned this pull request May 8, 2024
@betaxab betaxab deleted the p1 branch May 8, 2024 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants