[go: up one dir, main page]

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

[ie/pokergo] Make metadata extraction non-fatal #10319

Merged
merged 6 commits into from
Jul 1, 2024

Conversation

axpauls
Copy link
Contributor
@axpauls axpauls commented Jul 1, 2024

IMPORTANT: PRs without the template will be CLOSED

Description of your pull request and other information

Sometimes PokerGO API returns no show_tags for the video, this results in StopIteration exception and video is not downloaded.

API response example without show_tags for video https://www.pokergo.com/videos/b649b11a-ecec-4e00-932f-26f0e4a1201a

large json file
{
    "data": {
        "id": "b649b11a-ecec-4e00-932f-26f0e4a1201a",
        "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
        "title": "WSOP 2024 Bracelet Events | Event #65 $5K Seniors High Roller",
        "description": "The Event #65: $5,000 Seniors High Roller final table is set at the 2024 World Series of Poker, with Mark Checkwicz holding the chip lead. Checkwicz leads ahead of Kevin Nathan, Michael Vela, Samuel Wagner, Arie Kilper, and Bruno Lopes, as the final six play for the $573,876 first-place prize and prestigious WSOP bracelet.",
        "aired_at": "2024-06-29T00:00:00Z",
        "published_at": "2024-04-15T16:00:00Z",
        "created_at": "2024-04-16T06:57:57.352047Z",
        "updated_at": "2024-07-01T10:00:35.852392Z",
        "deleted_at": null,
        "source": "ASqCdS4O",
        "entitlements_rule": "one",
        "label": "wsop-2024-be-ev-65-5k-seniors-hr-ft",
        "ended_at": "2024-06-29T06:11:00Z",
        "type": "vod",
        "subheading": " Airing on June 28, 2024 | Commentary by Lon McEachern and Dara O'Kearney",
        "trailer_source": "",
        "duration": 20354.5,
        "live_end_point": "rtmp://34.211.217.197/live/channel01",
        "live_media_id": "ASqCdS4O",
        "video_type": "pokergo video",
        "collection_video_other": {
            "parent_collection_id": "32dcb84e-75fa-4258-88b6-bc84236ba378",
            "child_video_id": "b649b11a-ecec-4e00-932f-26f0e4a1201a",
            "video": {
                "id": "",
                "property_id": "",
                "title": "",
                "description": "",
                "aired_at": "0001-01-01T00:00:00Z",
                "published_at": "0001-01-01T00:00:00Z",
                "created_at": "0001-01-01T00:00:00Z",
                "updated_at": "0001-01-01T00:00:00Z",
                "deleted_at": null,
                "source": "",
                "entitlements_rule": "",
                "label": "",
                "ended_at": "0001-01-01T00:00:00Z",
                "type": "",
                "subheading": "",
                "pre_air_images": false,
                "trailer_source": "",
                "duration": 0,
                "live_end_point": "",
                "live_media_id": "",
                "video_type": "",
                "collection_video_other": null,
                "show_tags": null,
                "other_tags": null,
                "video_entitlement": null,
                "video_blocked_location": null,
                "video_source": null,
                "subscriber_video_progress": {
                    "video_id": "",
                    "subscriber_id": "",
                    "progress": 0,
                    "last_watched": "0001-01-01T00:00:00Z"
                },
                "search_exclusions": {
                    "id": "",
                    "entity_id": ""
                }
            },
            "order": 22
        },
        "show_tags": [],
        "other_tags": [],
        "video_entitlement": [
            {
                "video_id": "b649b11a-ecec-4e00-932f-26f0e4a1201a",
                "entitlement_id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                "entitlement": {
                    "id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                    "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
                    "title": "Subscription",
                    "external_apple_id": "",
                    "external_google_id": "",
                    "external_roku_id": "",
                    "external_stripe_id": "",
                    "description": "User has paid for a subscription",
                    "created_at": "2020-04-06T17:38:51.236607Z",
                    "updated_at": "2020-08-12T14:05:08.667096Z",
                    "deleted_at": null,
                    "entitlement_store_id": null
                },
                "video": null
            }
        ],
        "video_blocked_location": [],
        "video_source": [],
        "subscriber_video_progress": {
            "video_id": "",
            "subscriber_id": "",
            "progress": 0,
            "last_watched": "0001-01-01T00:00:00Z"
        },
        "search_exclusions": {
            "id": "",
            "entity_id": ""
        },
        "images": [
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a-SD.jpg",
                "label": "SD",
                "mime_type": "image/jpeg",
                "width": 720,
                "height": 576
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a-HD.jpg",
                "label": "HD",
                "mime_type": "image/jpeg",
                "width": 1280,
                "height": 720
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a-FHD.jpg",
                "label": "FHD",
                "mime_type": "image/jpeg",
                "width": 1920,
                "height": 1080
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a-UHD.jpg",
                "label": "UHD",
                "mime_type": "image/jpeg",
                "width": 3840,
                "height": 2160
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a-4K.jpg",
                "label": "4K",
                "mime_type": "image/jpeg",
                "width": 4096,
                "height": 2160
            }
        ],
        "pre_air_images": [
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a__pre_air-UHD.jpg",
                "label": "UHD",
                "mime_type": "image/jpeg",
                "width": 3840,
                "height": 2160
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a__pre_air-4K.jpg",
                "label": "4K",
                "mime_type": "image/jpeg",
                "width": 4096,
                "height": 2160
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a__pre_air-SD.jpg",
                "label": "SD",
                "mime_type": "image/jpeg",
                "width": 720,
                "height": 576
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a__pre_air-HD.jpg",
                "label": "HD",
                "mime_type": "image/jpeg",
                "width": 1280,
                "height": 720
            },
            {
                "url": "https://storage.googleapis.com/gxm-video-platform-images/1dfb3940-7d53-4980-b0b0-f28b369a000d/b649b11a-ecec-4e00-932f-26f0e4a1201a__pre_air-FHD.jpg",
                "label": "FHD",
                "mime_type": "image/jpeg",
                "width": 1920,
                "height": 1080
            }
        ],
        "entitled": true,
        "favorite": true,
        "pre_video": {
            "id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
            "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
            "title": "WSOP 2024 Bracelet Events | Event #58 $50K Poker Players Championship",
            "description": "Watch the final table of Event #58: $50,000 Poker Players Championship from the 2024 World Series of Poker. Chris Brewer leads the way, but all eyes are on Daniel Negreanu as he tries to win his first WSOP gold bracelet since 2013. Bryce Yockey, Dylan Smith, and David Benyamine are also in the mix with $1,178,703 up top to the winner.",
            "aired_at": "2024-06-27T22:00:00Z",
            "published_at": "2024-04-15T16:00:00Z",
            "created_at": "2024-04-16T06:57:32.45941Z",
            "updated_at": "2024-07-01T10:00:14.516458Z",
            "deleted_at": null,
            "source": "CNPK1bmi",
            "entitlements_rule": "one",
            "label": "wsop-2024-be-ev-58-50k-ppc-ft",
            "ended_at": "2024-06-28T04:49:00Z",
            "type": "vod",
            "subheading": " Aired on June 27, 2024 | Commentary by Ali Nejad, Alex Livingston, and Philip Sternheimer",
            "pre_air_images": true,
            "trailer_source": "",
            "duration": 23511.9,
            "live_end_point": "rtmp://34.211.217.197/live/channel01",
            "live_media_id": "CNPK1bmi",
            "video_type": "pokergo video",
            "collection_video_other": {
                "parent_collection_id": "32dcb84e-75fa-4258-88b6-bc84236ba378",
                "child_video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                "video": {
                    "id": "",
                    "property_id": "",
                    "title": "",
                    "description": "",
                    "aired_at": "0001-01-01T00:00:00Z",
                    "published_at": "0001-01-01T00:00:00Z",
                    "created_at": "0001-01-01T00:00:00Z",
                    "updated_at": "0001-01-01T00:00:00Z",
                    "deleted_at": null,
                    "source": "",
                    "entitlements_rule": "",
                    "label": "",
                    "ended_at": "0001-01-01T00:00:00Z",
                    "type": "",
                    "subheading": "",
                    "pre_air_images": false,
                    "trailer_source": "",
                    "duration": 0,
                    "live_end_point": "",
                    "live_media_id": "",
                    "video_type": "",
                    "collection_video_other": null,
                    "show_tags": null,
                    "other_tags": null,
                    "video_entitlement": null,
                    "video_blocked_location": null,
                    "video_source": null,
                    "subscriber_video_progress": {
                        "video_id": "",
                        "subscriber_id": "",
                        "progress": 0,
                        "last_watched": "0001-01-01T00:00:00Z"
                    },
                    "search_exclusions": {
                        "id": "",
                        "entity_id": ""
                    }
                },
                "order": 21
            },
            "show_tags": [
                {
                    "id": "6d8ac336-0d1e-4a4a-9052-04044cfe84bd",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": "Final Table",
                    "season": 55,
                    "year": 2024,
                    "tag_id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                    "tag": {
                        "id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                        "name": "wsop",
                        "tag_type": "show"
                    },
                    "video": null,
                    "episode_number": 58,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "e1499f2f-a1c2-4ec9-80cf-4119edc2bce7",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "17d98098-58a6-4c4b-90d0-2178b75edbf2",
                    "tag": {
                        "id": "17d98098-58a6-4c4b-90d0-2178b75edbf2",
                        "name": "poker players championship",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "0686b4d2-64a1-4654-b82c-0f79645776c8",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "d27c364a-07de-42b6-a549-1c41854ea2f7",
                    "tag": {
                        "id": "d27c364a-07de-42b6-a549-1c41854ea2f7",
                        "name": "chris brewer",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "7f909475-6456-48fb-9b98-cc276a057081",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "7a24e839-5f85-424c-952e-5e08b516ccd0",
                    "tag": {
                        "id": "7a24e839-5f85-424c-952e-5e08b516ccd0",
                        "name": "daniel negreanu",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "9d945b35-7cfe-4544-9575-4674d0443e8b",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "65b5dd95-1f74-4706-a568-2bc1e9f6de77",
                    "tag": {
                        "id": "65b5dd95-1f74-4706-a568-2bc1e9f6de77",
                        "name": "dylan smith",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "77314bb9-8868-4d57-bf33-9d17e0701b0b",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "fe5f09bf-53fd-4519-bd2b-dcfac96bfa93",
                    "tag": {
                        "id": "fe5f09bf-53fd-4519-bd2b-dcfac96bfa93",
                        "name": "david benyamine",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "6dff2f00-6fcf-4d84-ba3c-da13cbf2829a",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "33b4c4ce-afa2-4064-84dc-4a9181ac4084",
                    "tag": {
                        "id": "33b4c4ce-afa2-4064-84dc-4a9181ac4084",
                        "name": "bryce yockey",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                }
            ],
            "other_tags": [
                {
                    "id": "6d8ac336-0d1e-4a4a-9052-04044cfe84bd",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": "Final Table",
                    "season": 55,
                    "year": 2024,
                    "tag_id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                    "tag": {
                        "id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                        "name": "wsop",
                        "tag_type": "show"
                    },
                    "video": null,
                    "episode_number": 58,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "e1499f2f-a1c2-4ec9-80cf-4119edc2bce7",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "17d98098-58a6-4c4b-90d0-2178b75edbf2",
                    "tag": {
                        "id": "17d98098-58a6-4c4b-90d0-2178b75edbf2",
                        "name": "poker players championship",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "0686b4d2-64a1-4654-b82c-0f79645776c8",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "d27c364a-07de-42b6-a549-1c41854ea2f7",
                    "tag": {
                        "id": "d27c364a-07de-42b6-a549-1c41854ea2f7",
                        "name": "chris brewer",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "7f909475-6456-48fb-9b98-cc276a057081",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "7a24e839-5f85-424c-952e-5e08b516ccd0",
                    "tag": {
                        "id": "7a24e839-5f85-424c-952e-5e08b516ccd0",
                        "name": "daniel negreanu",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "9d945b35-7cfe-4544-9575-4674d0443e8b",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "65b5dd95-1f74-4706-a568-2bc1e9f6de77",
                    "tag": {
                        "id": "65b5dd95-1f74-4706-a568-2bc1e9f6de77",
                        "name": "dylan smith",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "77314bb9-8868-4d57-bf33-9d17e0701b0b",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "fe5f09bf-53fd-4519-bd2b-dcfac96bfa93",
                    "tag": {
                        "id": "fe5f09bf-53fd-4519-bd2b-dcfac96bfa93",
                        "name": "david benyamine",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "6dff2f00-6fcf-4d84-ba3c-da13cbf2829a",
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "33b4c4ce-afa2-4064-84dc-4a9181ac4084",
                    "tag": {
                        "id": "33b4c4ce-afa2-4064-84dc-4a9181ac4084",
                        "name": "bryce yockey",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                }
            ],
            "video_entitlement": [
                {
                    "video_id": "83da8b45-39ac-46e7-8c12-aeb475d11ccb",
                    "entitlement_id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                    "entitlement": {
                        "id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                        "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
                        "title": "Subscription",
                        "external_apple_id": "",
                        "external_google_id": "",
                        "external_roku_id": "",
                        "external_stripe_id": "",
                        "description": "User has paid for a subscription",
                        "created_at": "2020-04-06T17:38:51.236607Z",
                        "updated_at": "2020-08-12T14:05:08.667096Z",
                        "deleted_at": null,
                        "entitlement_store_id": null
                    },
                    "video": null
                }
            ],
            "video_blocked_location": [],
            "video_source": [],
            "subscriber_video_progress": {
                "video_id": "",
                "subscriber_id": "",
                "progress": 0,
                "last_watched": "0001-01-01T00:00:00Z"
            },
            "search_exclusions": {
                "id": "",
                "entity_id": ""
            }
        },
        "post_video": {
            "id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
            "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
            "title": "WSOP 2024 Bracelet Events | Event #66 $10K Pot-Limit Omaha Championship",
            "description": "The Event #66: $10,000 Pot-Limit Omaha Championship final table is set at the 2024 World Series of Poker, with Joshua Adkins holding the chip lead. Adkins leads ahead of Elie Nakache, Jonathan Bowers, Manh Nguyen, and Oshri Lahmani, as the final five play for the $1,320,945 first-place prize and the elusive WSOP bracelet.",
            "aired_at": "2024-06-29T22:00:00Z",
            "published_at": "2024-04-15T16:00:00Z",
            "created_at": "2024-04-16T06:58:19.03885Z",
            "updated_at": "2024-07-01T10:00:42.507023Z",
            "deleted_at": null,
            "source": "y3zuRlGM",
            "entitlements_rule": "one",
            "label": "wsop-2024-be-ev-66-10k-plo-ft",
            "ended_at": "2024-06-30T00:53:00Z",
            "type": "vod",
            "subheading": " Aired on June 29, 2024 | Commentary by Jeff Platt and Ben Ludlow",
            "pre_air_images": true,
            "trailer_source": "",
            "duration": 10346,
            "live_end_point": "rtmp://34.211.217.197/live/channel01",
            "live_media_id": "y3zuRlGM",
            "video_type": "pokergo video",
            "collection_video_other": {
                "parent_collection_id": "32dcb84e-75fa-4258-88b6-bc84236ba378",
                "child_video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                "video": {
                    "id": "",
                    "property_id": "",
                    "title": "",
                    "description": "",
                    "aired_at": "0001-01-01T00:00:00Z",
                    "published_at": "0001-01-01T00:00:00Z",
                    "created_at": "0001-01-01T00:00:00Z",
                    "updated_at": "0001-01-01T00:00:00Z",
                    "deleted_at": null,
                    "source": "",
                    "entitlements_rule": "",
                    "label": "",
                    "ended_at": "0001-01-01T00:00:00Z",
                    "type": "",
                    "subheading": "",
                    "pre_air_images": false,
                    "trailer_source": "",
                    "duration": 0,
                    "live_end_point": "",
                    "live_media_id": "",
                    "video_type": "",
                    "collection_video_other": null,
                    "show_tags": null,
                    "other_tags": null,
                    "video_entitlement": null,
                    "video_blocked_location": null,
                    "video_source": null,
                    "subscriber_video_progress": {
                        "video_id": "",
                        "subscriber_id": "",
                        "progress": 0,
                        "last_watched": "0001-01-01T00:00:00Z"
                    },
                    "search_exclusions": {
                        "id": "",
                        "entity_id": ""
                    }
                },
                "order": 23
            },
            "show_tags": [
                {
                    "id": "4f2989b6-2ccb-48e6-94ab-3d80433eb90c",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": "Final Table",
                    "season": 55,
                    "year": 2024,
                    "tag_id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                    "tag": {
                        "id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                        "name": "wsop",
                        "tag_type": "show"
                    },
                    "video": null,
                    "episode_number": 66,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "201cdaee-bc17-4bdb-8a89-6bb572479172",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "b5851557-6e02-49d0-9efb-3a8c123f5d32",
                    "tag": {
                        "id": "b5851557-6e02-49d0-9efb-3a8c123f5d32",
                        "name": "joshua adkins",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "1009d766-05fb-4536-8aae-009337b1283c",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "7e9e53b2-4576-4fbf-9379-b9c278e5d9fb",
                    "tag": {
                        "id": "7e9e53b2-4576-4fbf-9379-b9c278e5d9fb",
                        "name": "manh nguyen",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "860d083b-77fd-4c42-a6c4-701c8b87e98b",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "afcb6557-3b23-4f40-9d06-70154a762a7f",
                    "tag": {
                        "id": "afcb6557-3b23-4f40-9d06-70154a762a7f",
                        "name": "jonathan bowers",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "627f4bbb-127c-44ac-b376-01431395701b",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "9fc3ea7e-cc0b-4c62-bb24-841de24c6664",
                    "tag": {
                        "id": "9fc3ea7e-cc0b-4c62-bb24-841de24c6664",
                        "name": "elie nakache",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "6c6c4b40-7311-463c-8c61-4461a7b00c0a",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "49583adf-9886-42a5-9240-465344f6d4f2",
                    "tag": {
                        "id": "49583adf-9886-42a5-9240-465344f6d4f2",
                        "name": "oshri lahmani",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                }
            ],
            "other_tags": [
                {
                    "id": "4f2989b6-2ccb-48e6-94ab-3d80433eb90c",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": "Final Table",
                    "season": 55,
                    "year": 2024,
                    "tag_id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                    "tag": {
                        "id": "69f1ad67-0524-4549-b600-bfed63fb9ef8",
                        "name": "wsop",
                        "tag_type": "show"
                    },
                    "video": null,
                    "episode_number": 66,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "201cdaee-bc17-4bdb-8a89-6bb572479172",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "b5851557-6e02-49d0-9efb-3a8c123f5d32",
                    "tag": {
                        "id": "b5851557-6e02-49d0-9efb-3a8c123f5d32",
                        "name": "joshua adkins",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "1009d766-05fb-4536-8aae-009337b1283c",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "7e9e53b2-4576-4fbf-9379-b9c278e5d9fb",
                    "tag": {
                        "id": "7e9e53b2-4576-4fbf-9379-b9c278e5d9fb",
                        "name": "manh nguyen",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "860d083b-77fd-4c42-a6c4-701c8b87e98b",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "afcb6557-3b23-4f40-9d06-70154a762a7f",
                    "tag": {
                        "id": "afcb6557-3b23-4f40-9d06-70154a762a7f",
                        "name": "jonathan bowers",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "627f4bbb-127c-44ac-b376-01431395701b",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "9fc3ea7e-cc0b-4c62-bb24-841de24c6664",
                    "tag": {
                        "id": "9fc3ea7e-cc0b-4c62-bb24-841de24c6664",
                        "name": "elie nakache",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                },
                {
                    "id": "6c6c4b40-7311-463c-8c61-4461a7b00c0a",
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "show_type": null,
                    "season": null,
                    "year": null,
                    "tag_id": "49583adf-9886-42a5-9240-465344f6d4f2",
                    "tag": {
                        "id": "49583adf-9886-42a5-9240-465344f6d4f2",
                        "name": "oshri lahmani",
                        "tag_type": "other"
                    },
                    "video": null,
                    "episode_number": null,
                    "show_start_date": null,
                    "coach_name": "",
                    "game_type": ""
                }
            ],
            "video_entitlement": [
                {
                    "video_id": "a641d0a0-c5e0-4c34-a6eb-69027fc72b32",
                    "entitlement_id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                    "entitlement": {
                        "id": "4fd833d8-b24e-454a-ad65-372556ffeab4",
                        "property_id": "1dfb3940-7d53-4980-b0b0-f28b369a000d",
                        "title": "Subscription",
                        "external_apple_id": "",
                        "external_google_id": "",
                        "external_roku_id": "",
                        "external_stripe_id": "",
                        "description": "User has paid for a subscription",
                        "created_at": "2020-04-06T17:38:51.236607Z",
                        "updated_at": "2020-08-12T14:05:08.667096Z",
                        "deleted_at": null,
                        "entitlement_store_id": null
                    },
                    "video": null
                }
            ],
            "video_blocked_location": [],
            "video_source": [],
            "subscriber_video_progress": {
                "video_id": "",
                "subscriber_id": "",
                "progress": 0,
                "last_watched": "0001-01-01T00:00:00Z"
            },
            "search_exclusions": {
                "id": "",
                "entity_id": ""
            }
        },
        "CollectionParentID": "",
        "Score": 0,
        "ShowYear": 0,
        "ShowSeason": 0,
        "ShowEpisodeNumber": 0,
        "ShowName": "",
        "ShowType": ""
    }
}
Fixes #
Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

@seproDev seproDev added the site-bug Issue with a specific website label Jul 1, 2024
@axpauls axpauls requested a review from seproDev July 1, 2024 13:27
@seproDev seproDev added the pending-review PR needs a review label Jul 1, 2024
yt_dlp/extractor/pokergo.py Outdated Show resolved Hide resolved
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
yt_dlp/extractor/pokergo.py Outdated Show resolved Hide resolved
@seproDev seproDev changed the title Do not fail if there is no show_tags for PokerGO video [ie/pokergo] Make metadata extraction non-fatal Jul 1, 2024
@seproDev seproDev removed the pending-review PR needs a review label Jul 1, 2024
@seproDev seproDev merged commit 36e8dd8 into yt-dlp:master Jul 1, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants