From 214f524edc234f611119352f41c4f047b90300b7 Mon Sep 17 00:00:00 2001 From: Brian Le Date: Sat, 14 Sep 2024 01:07:42 -0700 Subject: [PATCH] Add additional supported clients (#28) --- plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py | 2 +- plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py b/plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py index e10f8e5..1874b09 100644 --- a/plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py +++ b/plugin/yt_dlp_plugins/extractor/getpot_bgutil_http.py @@ -21,7 +21,7 @@ @register_provider class BgUtilHTTPPotProviderRH(GetPOTProvider): _PROVIDER_NAME = 'BgUtilHTTPPot' - _SUPPORTED_CLIENTS = ('web', 'web_safari', 'web_embedded', 'web_music', 'web_creator') + _SUPPORTED_CLIENTS = ('web', 'web_safari', 'web_embedded', 'web_music', 'web_creator', 'mweb', 'tv_embedded', 'tv') VERSION = __version__ def _validate_get_pot(self, client: str, ydl: YoutubeDL, visitor_data=None, data_sync_id=None, player_url=None, **kwargs): diff --git a/plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py b/plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py index 604ec03..c7ccf66 100644 --- a/plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py +++ b/plugin/yt_dlp_plugins/extractor/getpot_bgutil_script.py @@ -23,7 +23,7 @@ @register_provider class BgUtilScriptPotProviderRH(GetPOTProvider): _PROVIDER_NAME = 'BgUtilScriptPot' - _SUPPORTED_CLIENTS = ('web', 'web_safari', 'web_embedded', 'web_music', 'web_creator') + _SUPPORTED_CLIENTS = ('web', 'web_safari', 'web_embedded', 'web_music', 'web_creator', 'mweb', 'tv_embedded', 'tv') VERSION = __version__ @classproperty(cache=True)